#2A5FA2
Closest named color: Denim Blue (#3B5B92). oklch(48.5% 0.122 255.7), rgb(42, 95, 162).
Aa
White text reads best on this color (6.44:1).
About this color
#2A5FA2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.122 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.029 away. White text reads best on it, at 6.44:1.
| Hue family | Blues |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.122) |
| Temperature | cool |
| Nearest name | Denim Blue (#3B5B92) |
| Black text | 3.25:1 |
| White text | 6.44:1 |
Values
| HEX | #2A5FA2 |
| RGB | rgb(42, 95, 162) |
| HSL | hsl(214, 59%, 40%) |
| OKLCH | oklch(48.5% 0.122 255.7) |
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 #2A5FA2 | 6.44:1 | AA | Lc -86.8 | Fine for body text |
| Black text on #2A5FA2 | 3.25:1 | AA large text | Lc 22.4 | Dividers and decoration only |
| #2A5FA2 text on white | 6.44:1 | AA | Lc 81.7 | Fine for body text |
| #2A5FA2 text on black | 3.25:1 | AA large text | Lc -20.2 | 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
#E3EBF5
oklch(93.7% 0.016 253.9)
-
Step 200
200
#CBDBEF
oklch(88.6% 0.033 254)
-
Step 300
300
#A8C3E7
oklch(80.9% 0.059 255.7)
-
Step 400
400
#79A3DB
oklch(70.7% 0.094 255.8)
-
Step 500
500
#568BD1
oklch(63.1% 0.12 255.9)
-
Step 600
600
#3A74BE
oklch(55.6% 0.131 255.6)
-
Step 700
700 (this color)
#2A5FA2
oklch(48.5% 0.122 255.7)
-
Step 800
800
#254F85
oklch(42.6% 0.102 255.8)
-
Step 900
900
#23426A
oklch(37.6% 0.078 255.6)
-
Step 950
950
#15273E
oklch(27% 0.049 255.2)
#2A5FA2 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) | #3F64A5 | 0.027 |
| Deuteranopia (no green cones) | #2B59A1 | 0.017 |
| Tritanopia (no blue cones) | #006F78 | 0.095 |
| Achromatopsia (no color) | #5E5E5E | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A5FA2
#2A5FA2
oklch(48.5% 0.122 255.7)
- #805500
#805500
oklch(48.5% 0.102 75.1)
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 #2A5FA2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Denim Blue #3B5B92 ΔE 0.029
- Dusky Blue #475F94 ΔE 0.036
- Mid Blue #276AB3 ΔE 0.038
- Peacock Blue #016795 ΔE 0.038
- Light Navy Blue #2E5A88 ΔE 0.042
- Denim #3B638C ΔE 0.043
- Dusk Blue #26538D ΔE 0.046
- French Blue #436BAD ΔE 0.047
Use #2A5FA2 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.