#2B71DB
Closest named color: Royal Blue (#4169E1). oklch(56.4% 0.177 258.9), rgb(43, 113, 219).
Aa
White text reads best on this color (4.67:1).
About this color
#2B71DB is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.177 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.027 away. White text reads best on it, at 4.67:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.177) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.48:1 |
| White text | 4.67:1 |
Values
| HEX | #2B71DB |
| RGB | rgb(43, 113, 219) |
| HSL | hsl(216, 71%, 51%) |
| OKLCH | oklch(56.4% 0.177 258.9) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #2B71DB | 4.67:1 | AA | Lc -77.4 | Fine for body text |
| Black text on #2B71DB | 4.48:1 | AA large text | Lc 32.1 | Non-text elements, placeholder text |
| #2B71DB text on white | 4.67:1 | AA | Lc 72.0 | Content text, not long reading |
| #2B71DB text on black | 4.48:1 | AA large text | Lc -29.7 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E1EBFA
oklch(93.7% 0.023 258.4)
-
Step 200
200
#C8DAF7
oklch(88.4% 0.045 259.9)
-
Step 300
300
#A2C2F4
oklch(80.8% 0.079 259.2)
-
Step 400
400
#6FA1EF
oklch(70.7% 0.127 259)
-
Step 500
500
#4887EA
oklch(63% 0.163 259.1)
-
Step 600
600 (this color)
#2B71DB
oklch(56.4% 0.177 258.9)
-
Step 700
700
#1B5CBC
oklch(49.2% 0.165 258.9)
-
Step 800
800
#194B98
oklch(42.6% 0.137 259.2)
-
Step 900
900
#1B4079
oklch(37.8% 0.106 258.9)
-
Step 950
950
#112647
oklch(27.1% 0.067 259.1)
#2B71DB with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #327CDF | 0.030 |
| Deuteranopia (no green cones) | #006CD9 | 0.023 |
| Tritanopia (no blue cones) | #008B9B | 0.137 |
| Achromatopsia (no color) | #747474 | 0.177 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2B71DB
#2B71DB
oklch(56.4% 0.177 258.9)
- #9A6C00
#9A6C00
oklch(56.4% 0.117 79.2)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2B71DB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.027
- Cerulean Blue #056EEE ΔE 0.034
- Windows Blue #3778BF ΔE 0.051
- Neon Blue #4361EE ΔE 0.051
- Clear Blue #247AFD ΔE 0.054
- Azul #1D5DEC ΔE 0.058
- Bright Blue #0165FC ΔE 0.062
- Mid Blue #276AB3 ΔE 0.063
Use #2B71DB in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.