#2170D5
Closest named color: Royal Blue (#4169E1). oklch(55.5% 0.172 256.9), rgb(33, 112, 213).
Aa
White text reads best on this color (4.83:1).
About this color
#2170D5 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.172 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.034 away. White text reads best on it, at 4.83:1.
| Hue family | Blues |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.172) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.34:1 |
| White text | 4.83:1 |
Values
| HEX | #2170D5 |
| RGB | rgb(33, 112, 213) |
| HSL | hsl(214, 73%, 48%) |
| OKLCH | oklch(55.5% 0.172 256.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 #2170D5 | 4.83:1 | AA | Lc -78.4 | Fine for body text |
| Black text on #2170D5 | 4.34:1 | AA large text | Lc 31.1 | Non-text elements, placeholder text |
| #2170D5 text on white | 4.83:1 | AA | Lc 73.0 | Content text, not long reading |
| #2170D5 text on black | 4.34:1 | AA large text | Lc -28.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
#E1EBF9
oklch(93.7% 0.022 256.7)
-
Step 200
200
#C7DBF6
oklch(88.5% 0.043 255.9)
-
Step 300
300
#A1C3F3
oklch(80.9% 0.078 257)
-
Step 400
400
#6DA2ED
oklch(70.7% 0.124 257.2)
-
Step 500
500
#4489E7
oklch(63.1% 0.158 256.9)
-
Step 600
600 (this color)
#2170D5
oklch(55.5% 0.172 256.9)
-
Step 700
700
#135DB9
oklch(49% 0.161 257.1)
-
Step 800
800
#144D96
oklch(42.8% 0.133 256.9)
-
Step 900
900
#184177
oklch(37.8% 0.103 256.6)
-
Step 950
950
#0F2646
oklch(26.9% 0.066 257.2)
#2170D5 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) | #367AD9 | 0.032 |
| Deuteranopia (no green cones) | #006AD3 | 0.021 |
| Tritanopia (no blue cones) | #008898 | 0.130 |
| Achromatopsia (no color) | #727272 | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2170D5
#2170D5
oklch(55.5% 0.172 256.9)
- #996800
#996800
oklch(55.5% 0.116 76.4)
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 #2170D5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.034
- Cerulean Blue #056EEE ΔE 0.040
- Windows Blue #3778BF ΔE 0.046
- Mid Blue #276AB3 ΔE 0.053
- Neon Blue #4361EE ΔE 0.058
- Azul #1D5DEC ΔE 0.060
- French Blue #436BAD ΔE 0.064
- Clear Blue #247AFD ΔE 0.064
Use #2170D5 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.