#030827
Closest named color: Midnight (#03012D). oklch(15.5% 0.065 267.6), rgb(3, 8, 39).
Aa
White text reads best on this color (19.66:1).
About this color
#030827 is a very dark, muted blue. In OKLCH its lightness is 15%, its chroma 0.065 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.027 away. White text reads best on it, at 19.66:1.
| Hue family | Blues |
| Lightness | very dark (15%) |
| Chroma | muted (0.065) |
| Temperature | cool |
| Nearest name | Midnight (#03012D) |
| Black text | 1.06:1 |
| White text | 19.66:1 |
Values
| HEX | #030827 |
| RGB | rgb(3, 8, 39) |
| HSL | hsl(232, 86%, 8%) |
| OKLCH | oklch(15.5% 0.065 267.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 #030827 | 19.66:1 | AAA | Lc -107.6 | Preferred for body text |
| Black text on #030827 | 1.06:1 | Fails | Lc 0.0 | Not readable |
| #030827 text on white | 19.66:1 | AAA | Lc 105.6 | Preferred for body text |
| #030827 text on black | 1.06: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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAF9
oklch(93.6% 0.022 265.8)
-
Step 200
200
#CDD9F6
oklch(88.5% 0.042 267.7)
-
Step 300
300
#ABC0F3
oklch(81% 0.076 267.3)
-
Step 400
400
#7F9DED
oklch(70.7% 0.122 267.6)
-
Step 500
500
#6083E7
oklch(63.2% 0.155 267.4)
-
Step 600
600
#486AD6
oklch(55.7% 0.17 267.5)
-
Step 700
700
#3A57B9
oklch(49.1% 0.158 267.8)
-
Step 800
800
#304896
oklch(42.8% 0.131 267.7)
-
Step 900
900
#2A3D77
oklch(37.7% 0.102 267.7)
-
Step 950
950 (this color)
#030827
oklch(15.5% 0.065 267.6)
#030827 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) | #000D28 | 0.016 |
| Deuteranopia (no green cones) | #000926 | 0.008 |
| Tritanopia (no blue cones) | #001016 | 0.050 |
| Achromatopsia (no color) | #0B0B0B | 0.065 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #030827
#030827
oklch(15.5% 0.065 267.6)
- #120B00
#120B00
oklch(15.5% 0.032 86.6)
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 #030827, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight #03012D ΔE 0.027
- Dark Navy Blue #00022E ΔE 0.028
- Dark Navy #000435 ΔE 0.032
- Very Dark Blue #000133 ΔE 0.035
- Rich Navy #001219 ΔE 0.050
- Almost Black #070D0D ΔE 0.062
- Night Blue #040348 ΔE 0.066
- Navy Blue #001146 ΔE 0.068
Use #030827 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.