#262F7C
Closest named color: Marine Blue (#01386A). oklch(34.8% 0.13 272.6), rgb(38, 47, 124).
Aa
White text reads best on this color (11.79:1).
About this color
#262F7C is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.130 and its hue 273°. 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.79:1.
| Hue family | Blues |
| Lightness | dark (35%) |
| Chroma | moderately saturated (0.130) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.78:1 |
| White text | 11.79:1 |
Values
| HEX | #262F7C |
| RGB | rgb(38, 47, 124) |
| HSL | hsl(234, 53%, 32%) |
| OKLCH | oklch(34.8% 0.13 272.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 #262F7C | 11.79:1 | AAA | Lc -100.3 | Preferred for body text |
| Black text on #262F7C | 1.78:1 | Fails | Lc 0.0 | Not readable |
| #262F7C text on white | 11.79:1 | AAA | Lc 96.6 | Preferred for body text |
| #262F7C text on black | 1.78: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
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E3E9FD
oklch(93.5% 0.028 272.5)
-
Step 200
200
#CDD8FE
oklch(88.6% 0.054 272.5)
-
Step 300
300
#ABBDFF
oklch(80.9% 0.096 272.3)
-
Step 400
400
#8198FF
oklch(70.7% 0.153 272.5)
-
Step 500
500
#6479FF
oklch(63% 0.199 272.7)
-
Step 600
600
#4E5DEF
oklch(55.5% 0.217 272.6)
-
Step 700
700
#404CD0
oklch(49.2% 0.201 272.5)
-
Step 800
800
#343FA8
oklch(42.7% 0.167 272.5)
-
Step 900
900 (this color)
#262F7C
oklch(34.8% 0.13 272.6)
-
Step 950
950
#1A214E
oklch(27% 0.083 273)
#262F7C 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) | #003C7F | 0.041 |
| Deuteranopia (no green cones) | #00347A | 0.032 |
| Tritanopia (no blue cones) | #004250 | 0.107 |
| Achromatopsia (no color) | #383838 | 0.130 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #262F7C
#262F7C
oklch(34.8% 0.13 272.6)
- #473800
#473800
oklch(34.7% 0.071 92)
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 #262F7C, 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.056
- Marine #042E60 ΔE 0.061
- Midnight Blue #191970 ΔE 0.062
- Royal #0C1793 ΔE 0.070
- Prussian Blue #1D3557 ΔE 0.070
- Cobalt #1E488F ΔE 0.071
- Dark Slate Blue #483D8B ΔE 0.073
Use #262F7C 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.