#021C40
Closest named color: Navy Blue (#001146). oklch(23.2% 0.076 256.8), rgb(2, 28, 64).
Aa
White text reads best on this color (16.89:1).
About this color
#021C40 is a very dark, moderately saturated blue. In OKLCH its lightness is 23%, its chroma 0.076 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.035 away. White text reads best on it, at 16.89:1.
| Hue family | Blues |
| Lightness | very dark (23%) |
| Chroma | moderately saturated (0.076) |
| Temperature | cool |
| Nearest name | Navy Blue (#001146) |
| Black text | 1.24:1 |
| White text | 16.89:1 |
Values
| HEX | #021C40 |
| RGB | rgb(2, 28, 64) |
| HSL | hsl(215, 94%, 13%) |
| OKLCH | oklch(23.2% 0.076 256.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 #021C40 | 16.89:1 | AAA | Lc -106.0 | Preferred for body text |
| Black text on #021C40 | 1.24:1 | Fails | Lc 0.0 | Not readable |
| #021C40 text on white | 16.89:1 | AAA | Lc 103.5 | Preferred for body text |
| #021C40 text on black | 1.24: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
#F0F6FE
oklch(97.1% 0.012 255.5)
-
Step 100
100
#DFEBFC
oklch(93.6% 0.026 257)
-
Step 200
200
#C4DBFB
oklch(88.5% 0.051 256.7)
-
Step 300
300
#9BC3FB
oklch(80.9% 0.091 256.9)
-
Step 400
400
#62A2F9
oklch(70.8% 0.144 256.5)
-
Step 500
500
#3287F6
oklch(63.1% 0.185 256.8)
-
Step 600
600
#006EE2
oklch(55.6% 0.196 256.8)
-
Step 700
700
#005CC0
oklch(49.1% 0.174 256.9)
-
Step 800
800
#004B9F
oklch(42.7% 0.151 256.9)
-
Step 900
900
#0C3F7F
oklch(37.5% 0.12 256.9)
-
Step 950
950 (this color)
#021C40
oklch(23.2% 0.076 256.8)
#021C40 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) | #062041 | 0.015 |
| Deuteranopia (no green cones) | #001A3F | 0.008 |
| Tritanopia (no blue cones) | #00252A | 0.059 |
| Achromatopsia (no color) | #1D1D1D | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #021C40
#021C40
oklch(23.2% 0.076 256.8)
- #2A1A00
#2A1A00
oklch(23.3% 0.049 77.5)
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 #021C40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Blue #001146 ΔE 0.035
- Rich Black #0D1B2A ΔE 0.043
- Oxford Blue #1B263B ΔE 0.051
- Dark #1B2431 ΔE 0.055
- Night Blue #040348 ΔE 0.063
- Dark Indigo #1F0954 ΔE 0.067
- Jet #212529 ΔE 0.073
- Dark Navy #000435 ΔE 0.075
Use #021C40 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.