#2C2F74
Closest named color: Marine Blue (#01386A). oklch(34.6% 0.116 276.6), rgb(44, 47, 116).
Aa
White text reads best on this color (11.89:1).
About this color
#2C2F74 is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.116 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.048 away. White text reads best on it, at 11.89:1.
| Hue family | Blues |
| Lightness | dark (35%) |
| Chroma | moderately saturated (0.116) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.76:1 |
| White text | 11.89:1 |
Values
| HEX | #2C2F74 |
| RGB | rgb(44, 47, 116) |
| HSL | hsl(238, 45%, 31%) |
| OKLCH | oklch(34.6% 0.116 276.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 #2C2F74 | 11.89:1 | AAA | Lc -100.6 | Preferred for body text |
| Black text on #2C2F74 | 1.76:1 | Fails | Lc 0.0 | Not readable |
| #2C2F74 text on white | 11.89:1 | AAA | Lc 96.9 | Preferred for body text |
| #2C2F74 text on black | 1.76: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
#F3F5FE
oklch(97.1% 0.012 276.1)
-
Step 100
100
#E5E9FB
oklch(93.6% 0.025 275.9)
-
Step 200
200
#D0D7FA
oklch(88.5% 0.049 276.4)
-
Step 300
300
#B1BCF9
oklch(80.8% 0.087 276.4)
-
Step 400
400
#8B97F6
oklch(70.7% 0.139 276.8)
-
Step 500
500
#707AF3
oklch(63.2% 0.179 276.4)
-
Step 600
600
#5B5FE1
oklch(55.6% 0.194 276.7)
-
Step 700
700
#4B4EC4
oklch(49.2% 0.18 276.4)
-
Step 800
800
#3D409E
oklch(42.6% 0.15 276.6)
-
Step 900
900 (this color)
#2C2F74
oklch(34.6% 0.116 276.6)
-
Step 950
950
#1E214A
oklch(27% 0.075 277)
#2C2F74 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) | #003A76 | 0.044 |
| Deuteranopia (no green cones) | #003473 | 0.041 |
| Tritanopia (no blue cones) | #003F4C | 0.100 |
| Achromatopsia (no color) | #373737 | 0.117 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2C2F74
#2C2F74
oklch(34.6% 0.116 276.6)
- #443900
#443900
oklch(34.6% 0.071 97)
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 #2C2F74, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.048
- Marine #042E60 ΔE 0.057
- Twilight Blue #0A437A ΔE 0.059
- Prussian Blue #1D3557 ΔE 0.060
- Midnight Blue #191970 ΔE 0.064
- Dark Slate Blue #483D8B ΔE 0.072
- Cobalt #1E488F ΔE 0.077
- Royal #0C1793 ΔE 0.084
Use #2C2F74 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.