#2172A2
Closest named color: Ocean Blue (#03719C). oklch(52.7% 0.107 240), rgb(33, 114, 162).
Aa
White text reads best on this color (5.25:1).
About this color
#2172A2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.107 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.015 away. White text reads best on it, at 5.25:1.
| Hue family | Blues |
| Lightness | medium-dark (53%) |
| Chroma | moderately saturated (0.107) |
| Temperature | cool |
| Nearest name | Ocean Blue (#03719C) |
| Black text | 3.99:1 |
| White text | 5.25:1 |
Values
| HEX | #2172A2 |
| RGB | rgb(33, 114, 162) |
| HSL | hsl(202, 66%, 38%) |
| OKLCH | oklch(52.7% 0.107 240) |
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 #2172A2 | 5.25:1 | AA | Lc -81.1 | Fine for body text |
| Black text on #2172A2 | 3.99:1 | AA large text | Lc 28.3 | Dividers and decoration only |
| #2172A2 text on white | 5.25:1 | AA | Lc 75.8 | Fine for body text |
| #2172A2 text on black | 3.99:1 | AA large text | Lc -26.0 | 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
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E2EBF2
oklch(93.5% 0.014 241)
-
Step 200
200
#CADCE9
oklch(88.5% 0.026 239.1)
-
Step 300
300
#A5C5DD
oklch(80.8% 0.048 240.6)
-
Step 400
400
#74A7CC
oklch(70.6% 0.077 240.7)
-
Step 500
500
#4C91BF
oklch(63.1% 0.099 240)
-
Step 600
600 (this color)
#2172A2
oklch(52.7% 0.107 240)
-
Step 700
700
#1D6793
oklch(49.1% 0.099 240.1)
-
Step 800
800
#1B5477
oklch(42.6% 0.082 240)
-
Step 900
900
#1D4660
oklch(37.8% 0.064 239.4)
-
Step 950
950
#122938
oklch(27% 0.04 239.2)
#2172A2 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) | #5B73A4 | 0.055 |
| Deuteranopia (no green cones) | #4A67A1 | 0.043 |
| Tritanopia (no blue cones) | #007E83 | 0.071 |
| Achromatopsia (no color) | #6C6C6C | 0.107 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2172A2
#2172A2
oklch(52.7% 0.107 240)
- #975A21
#975A21
oklch(52.7% 0.106 59.6)
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 #2172A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Ocean Blue #03719C ΔE 0.015
- Muted Blue #3B719F ΔE 0.018
- Flat Blue #3C73A8 ΔE 0.023
- Sea Blue #047495 ΔE 0.026
- Nice Blue #107AB0 ΔE 0.028
- Dull Blue #49759C ΔE 0.036
- French Blue #436BAD ΔE 0.039
- Mid Blue #276AB3 ΔE 0.039
Use #2172A2 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.