#2F51AE
Closest named color: Blue Blue (#2242C7). oklch(46.4% 0.154 265.6), rgb(47, 81, 174).
Aa
White text reads best on this color (7.21:1).
About this color
#2F51AE is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.154 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.056 away. White text reads best on it, at 7.21:1.
| Hue family | Blues |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.154) |
| Temperature | cool |
| Nearest name | Blue Blue (#2242C7) |
| Black text | 2.90:1 |
| White text | 7.21:1 |
Values
| HEX | #2F51AE |
| RGB | rgb(47, 81, 174) |
| HSL | hsl(224, 57%, 43%) |
| OKLCH | oklch(46.4% 0.154 265.6) |
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 #2F51AE | 7.21:1 | AAA | Lc -89.6 | Fine for body text |
| Black text on #2F51AE | 2.90:1 | Fails | Lc 19.4 | Dividers and decoration only |
| #2F51AE text on white | 7.21:1 | AAA | Lc 84.6 | Fine for body text |
| #2F51AE text on black | 2.90:1 | Fails | Lc -17.4 | 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
#F2F5FC
oklch(97% 0.01 267.4)
-
Step 100
100
#E3EAF9
oklch(93.6% 0.022 265.8)
-
Step 200
200
#CCD9F5
oklch(88.4% 0.041 265.7)
-
Step 300
300
#AAC0F2
oklch(80.9% 0.075 266.2)
-
Step 400
400
#7D9EEB
oklch(70.6% 0.119 265.8)
-
Step 500
500
#5D84E5
oklch(63.1% 0.152 265.7)
-
Step 600
600
#446BD3
oklch(55.5% 0.166 265.8)
-
Step 700
700 (this color)
#2F51AE
oklch(46.4% 0.154 265.6)
-
Step 800
800
#2D4994
oklch(42.7% 0.128 265.8)
-
Step 900
900
#283E76
oklch(37.7% 0.1 265.7)
-
Step 950
950
#172545
oklch(27% 0.063 264.7)
#2F51AE 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) | #0E5DB1 | 0.034 |
| Deuteranopia (no green cones) | #0052AC | 0.027 |
| Tritanopia (no blue cones) | #006777 | 0.123 |
| Achromatopsia (no color) | #575757 | 0.154 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F51AE
#2F51AE
oklch(46.4% 0.154 265.6)
- #715400
#715400
oklch(46.4% 0.095 85.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 #2F51AE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blue Blue #2242C7 ΔE 0.056
- Dusk Blue #26538D ΔE 0.056
- Blueberry #464196 ΔE 0.057
- Denim Blue #3B5B92 ΔE 0.058
- Cobalt #1E488F ΔE 0.059
- Sapphire #2138AB ΔE 0.065
- Mid Blue #276AB3 ΔE 0.067
- Twilight #4E518B ΔE 0.067
Use #2F51AE 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.