#2257A2
Closest named color: Dusk Blue (#26538D). oklch(46.4% 0.134 257.8), rgb(34, 87, 162).
Aa
White text reads best on this color (7.11:1).
About this color
#2257A2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.134 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.034 away. White text reads best on it, at 7.11:1.
| Hue family | Blues |
| Lightness | medium-dark (46%) |
| Chroma | moderately saturated (0.134) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.95:1 |
| White text | 7.11:1 |
Values
| HEX | #2257A2 |
| RGB | rgb(34, 87, 162) |
| HSL | hsl(215, 65%, 38%) |
| OKLCH | oklch(46.4% 0.134 257.8) |
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 #2257A2 | 7.11:1 | AAA | Lc -89.2 | Fine for body text |
| Black text on #2257A2 | 2.95:1 | Fails | Lc 19.8 | Dividers and decoration only |
| #2257A2 text on white | 7.11:1 | AAA | Lc 84.3 | Fine for body text |
| #2257A2 text on black | 2.95:1 | Fails | Lc -17.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 700.
-
Step 50
50
#F2F6FB
oklch(97.2% 0.008 253.9)
-
Step 100
100
#E2EBF7
oklch(93.7% 0.019 255.5)
-
Step 200
200
#CBDAF1
oklch(88.4% 0.036 258.9)
-
Step 300
300
#A7C3EB
oklch(81% 0.064 257.3)
-
Step 400
400
#77A2E1
oklch(70.6% 0.104 257.8)
-
Step 500
500
#548AD8
oklch(63.2% 0.132 257.6)
-
Step 600
600
#3872C6
oklch(55.6% 0.144 257.9)
-
Step 700
700 (this color)
#2257A2
oklch(46.4% 0.134 257.8)
-
Step 800
800
#244E8A
oklch(42.7% 0.11 257.7)
-
Step 900
900
#22416F
oklch(37.6% 0.087 258.2)
-
Step 950
950
#152741
oklch(27.2% 0.054 257.6)
#2257A2 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) | #2F5EA5 | 0.024 |
| Deuteranopia (no green cones) | #1153A1 | 0.017 |
| Tritanopia (no blue cones) | #006974 | 0.104 |
| Achromatopsia (no color) | #585858 | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2257A2
#2257A2
oklch(46.4% 0.134 257.8)
- #765100
#765100
oklch(46.3% 0.097 78.3)
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 #2257A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.034
- Denim Blue #3B5B92 ΔE 0.038
- Light Navy Blue #2E5A88 ΔE 0.046
- Cobalt #1E488F ΔE 0.050
- Light Navy #155084 ΔE 0.053
- Dusky Blue #475F94 ΔE 0.053
- Peacock Blue #016795 ΔE 0.055
- Deep Sea Blue #015482 ΔE 0.057
Use #2257A2 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.