#0F082C
Closest named color: Midnight (#03012D). oklch(17.3% 0.069 285.7), rgb(15, 8, 44).
Aa
White text reads best on this color (19.24:1).
About this color
#0F082C is a very dark, muted purple. In OKLCH its lightness is 17%, its chroma 0.069 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.041 away. White text reads best on it, at 19.24:1.
| Hue family | Purples |
| Lightness | very dark (17%) |
| Chroma | muted (0.069) |
| Temperature | cool |
| Nearest name | Midnight (#03012D) |
| Black text | 1.09:1 |
| White text | 19.24:1 |
Values
| HEX | #0F082C |
| RGB | rgb(15, 8, 44) |
| HSL | hsl(252, 69%, 10%) |
| OKLCH | oklch(17.3% 0.069 285.7) |
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 #0F082C | 19.24:1 | AAA | Lc -107.4 | Preferred for body text |
| Black text on #0F082C | 1.09:1 | Fails | Lc 0.0 | Not readable |
| #0F082C text on white | 19.24:1 | AAA | Lc 105.4 | Preferred for body text |
| #0F082C text on black | 1.09: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 950.
-
Step 50
50
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E8E8FA
oklch(93.6% 0.024 285.9)
-
Step 200
200
#D6D5F7
oklch(88.4% 0.047 286.8)
-
Step 300
300
#BBBAF4
oklch(81% 0.081 285.2)
-
Step 400
400
#9A93EE
oklch(70.6% 0.131 286)
-
Step 500
500
#8376E8
oklch(63.1% 0.166 285.8)
-
Step 600
600
#6E5BD7
oklch(55.6% 0.183 285.8)
-
Step 700
700
#5C4ABA
oklch(49% 0.169 285.7)
-
Step 800
800
#4B3E97
oklch(42.8% 0.14 285.5)
-
Step 900
900
#3E3678
oklch(37.8% 0.109 285.5)
-
Step 950
950 (this color)
#0F082C
oklch(17.3% 0.069 285.7)
#0F082C 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) | #000F2D | 0.033 |
| Deuteranopia (no green cones) | #000D2B | 0.031 |
| Tritanopia (no blue cones) | #041118 | 0.058 |
| Achromatopsia (no color) | #0E0E0E | 0.070 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0F082C
#0F082C
oklch(17.3% 0.069 285.7)
- #121100
#121100
oklch(17.3% 0.037 107.2)
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 #0F082C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight #03012D ΔE 0.041
- Dark Navy #000435 ΔE 0.042
- Dark Navy Blue #00022E ΔE 0.047
- Very Dark Blue #000133 ΔE 0.049
- Navy Blue #001146 ΔE 0.060
- Night Blue #040348 ΔE 0.061
- Rich Navy #001219 ΔE 0.062
- Rich Black #0D1B2A ΔE 0.063
Use #0F082C 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.