#2F508E
Closest named color: Dusk Blue (#26538D). oklch(43.9% 0.109 261.8), rgb(47, 80, 142).
Aa
White text reads best on this color (7.89:1).
About this color
#2F508E is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.109 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.012 away. White text reads best on it, at 7.89:1.
| Hue family | Blues |
| Lightness | dark (44%) |
| Chroma | moderately saturated (0.109) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.65:1 |
| White text | 7.89:1 |
Values
| HEX | #2F508E |
| RGB | rgb(47, 80, 142) |
| HSL | hsl(219, 50%, 37%) |
| OKLCH | oklch(43.9% 0.109 261.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 #2F508E | 7.89:1 | AAA | Lc -91.9 | Preferred for body text |
| Black text on #2F508E | 2.65:1 | Fails | Lc 16.8 | Dividers and decoration only |
| #2F508E text on white | 7.89:1 | AAA | Lc 87.2 | Fine for body text |
| #2F508E text on black | 2.65:1 | Fails | Lc -15.0 | Not readable |
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 800.
-
Step 50
50
#F2F6FB
oklch(97.2% 0.008 253.9)
-
Step 100
100
#E3EAF7
oklch(93.6% 0.019 263)
-
Step 200
200
#CCDAF1
oklch(88.5% 0.035 260.4)
-
Step 300
300
#AAC1EB
oklch(80.8% 0.065 262.4)
-
Step 400
400
#7DA1E1
oklch(70.8% 0.102 261.5)
-
Step 500
500
#5C88D8
oklch(63.1% 0.131 261.6)
-
Step 600
600
#4370C6
oklch(55.6% 0.143 262)
-
Step 700
700
#345DAB
oklch(49% 0.133 261.9)
-
Step 800
800 (this color)
#2F508E
oklch(43.9% 0.109 261.8)
-
Step 900
900
#27406F
oklch(37.6% 0.087 261.9)
-
Step 950
950
#172641
oklch(27% 0.055 261.4)
#2F508E 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) | #335690 | 0.019 |
| Deuteranopia (no green cones) | #244D8D | 0.015 |
| Tritanopia (no blue cones) | #005E68 | 0.090 |
| Achromatopsia (no color) | #515151 | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F508E
#2F508E
oklch(43.9% 0.109 261.8)
- #6B4C00
#6B4C00
oklch(43.9% 0.09 81.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 #2F508E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.012
- Light Navy #155084 ΔE 0.028
- Cobalt #1E488F ΔE 0.031
- Light Navy Blue #2E5A88 ΔE 0.033
- Denim Blue #3B5B92 ΔE 0.036
- Deep Sea Blue #015482 ΔE 0.038
- Twilight #4E518B ΔE 0.041
- Dusk #4E5481 ΔE 0.048
Use #2F508E 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.