#0F405E
Closest named color: Dark Blue Grey (#1F3B4D). oklch(35.5% 0.072 240.8), rgb(15, 64, 94).
Aa
White text reads best on this color (10.96:1).
About this color
#0F405E is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.072 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Blue Grey (#1F3B4D), ΔE 0.031 away. White text reads best on it, at 10.96:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.072) |
| Temperature | cool |
| Nearest name | Dark Blue Grey (#1F3B4D) |
| Black text | 1.91:1 |
| White text | 10.96:1 |
Values
| HEX | #0F405E |
| RGB | rgb(15, 64, 94) |
| HSL | hsl(203, 72%, 21%) |
| OKLCH | oklch(35.5% 0.072 240.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 #0F405E | 10.96:1 | AAA | Lc -99.0 | Preferred for body text |
| Black text on #0F405E | 1.91:1 | Fails | Lc 8.8 | Not readable |
| #0F405E text on white | 10.96:1 | AAA | Lc 95.1 | Preferred for body text |
| #0F405E text on black | 1.91:1 | Fails | Lc -7.6 | 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
#F1F6FA
oklch(97.1% 0.008 241.7)
-
Step 100
100
#E1EBF4
oklch(93.5% 0.016 245.1)
-
Step 200
200
#C8DCEC
oklch(88.4% 0.031 242)
-
Step 300
300
#A2C6E1
oklch(80.9% 0.054 240.8)
-
Step 400
400
#6DA8D2
oklch(70.7% 0.087 240.6)
-
Step 500
500
#4291C6
oklch(63% 0.111 241.1)
-
Step 600
600
#197BB3
oklch(55.7% 0.121 240.7)
-
Step 700
700
#05679A
oklch(49.1% 0.113 240.9)
-
Step 800
800
#0D547D
oklch(42.7% 0.094 241.1)
-
Step 900
900 (this color)
#0F405E
oklch(35.5% 0.072 240.8)
-
Step 950
950
#0F293B
oklch(27% 0.046 241.6)
#0F405E 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) | #32405F | 0.036 |
| Deuteranopia (no green cones) | #27395D | 0.029 |
| Tritanopia (no blue cones) | #00474B | 0.047 |
| Achromatopsia (no color) | #3C3C3C | 0.072 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0F405E
#0F405E
oklch(35.5% 0.072 240.8)
- #57320D
#57320D
oklch(35.6% 0.073 61)
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 #0F405E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Blue Grey #1F3B4D ΔE 0.031
- Dark Grey Blue #29465B ΔE 0.034
- Midnight Green #073B4C ΔE 0.034
- Prussian Blue #1D3557 ΔE 0.035
- Marine Blue #01386A ΔE 0.037
- Charcoal #264653 ΔE 0.038
- Twilight Blue #0A437A ΔE 0.048
- Dark Teal #014D4E ΔE 0.058
Use #0F405E 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.