#2F3377
Closest named color: Marine Blue (#01386A). oklch(35.8% 0.114 276.4), rgb(47, 51, 119).
Aa
White text reads best on this color (11.28:1).
About this color
#2F3377 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.114 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.050 away. White text reads best on it, at 11.28:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.114) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.86:1 |
| White text | 11.28:1 |
Values
| HEX | #2F3377 |
| RGB | rgb(47, 51, 119) |
| HSL | hsl(237, 43%, 33%) |
| OKLCH | oklch(35.8% 0.114 276.4) |
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 #2F3377 | 11.28:1 | AAA | Lc -99.6 | Preferred for body text |
| Black text on #2F3377 | 1.86:1 | Fails | Lc 8.1 | Not readable |
| #2F3377 text on white | 11.28:1 | AAA | Lc 95.8 | Preferred for body text |
| #2F3377 text on black | 1.86:1 | Fails | Lc 0.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 900.
-
Step 50
50
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E5E9FB
oklch(93.6% 0.025 275.9)
-
Step 200
200
#D0D7F9
oklch(88.5% 0.047 276.2)
-
Step 300
300
#B2BCF8
oklch(80.9% 0.086 277)
-
Step 400
400
#8B97F5
oklch(70.7% 0.138 276.8)
-
Step 500
500
#707AF1
oklch(63% 0.176 276.5)
-
Step 600
600
#5B60E0
oklch(55.7% 0.191 276.5)
-
Step 700
700
#4B4EC2
oklch(49% 0.177 276.5)
-
Step 800
800
#3D419D
oklch(42.7% 0.147 276.3)
-
Step 900
900 (this color)
#2F3377
oklch(35.8% 0.114 276.4)
-
Step 950
950
#1E2249
oklch(27.1% 0.072 276.1)
#2F3377 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) | #053E79 | 0.044 |
| Deuteranopia (no green cones) | #003876 | 0.043 |
| Tritanopia (no blue cones) | #01434F | 0.101 |
| Achromatopsia (no color) | #3B3B3B | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F3377
#2F3377
oklch(35.8% 0.114 276.4)
- #483C00
#483C00
oklch(35.8% 0.074 96.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 #2F3377, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.050
- Twilight Blue #0A437A ΔE 0.051
- Dark Slate Blue #483D8B ΔE 0.060
- Prussian Blue #1D3557 ΔE 0.063
- Marine #042E60 ΔE 0.066
- Cobalt #1E488F ΔE 0.066
- Blueberry #464196 ΔE 0.074
- Midnight Blue #191970 ΔE 0.077
Use #2F3377 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.