#012238
Closest named color: Rich Black (#0D1B2A). oklch(24.2% 0.056 242.5), rgb(1, 34, 56).
Aa
White text reads best on this color (16.31:1).
About this color
#012238 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.056 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.033 away. White text reads best on it, at 16.31:1.
| Hue family | Blues |
| Lightness | very dark (24%) |
| Chroma | muted (0.056) |
| Temperature | cool |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.28:1 |
| White text | 16.31:1 |
Values
| HEX | #012238 |
| RGB | rgb(1, 34, 56) |
| HSL | hsl(204, 96%, 11%) |
| OKLCH | oklch(24.2% 0.056 242.5) |
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 #012238 | 16.31:1 | AAA | Lc -105.6 | Preferred for body text |
| Black text on #012238 | 1.28:1 | Fails | Lc 0.0 | Not readable |
| #012238 text on white | 16.31:1 | AAA | Lc 103.0 | Preferred for body text |
| #012238 text on black | 1.28: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
#F0F6FB
oklch(97% 0.009 242.8)
-
Step 100
100
#DFECF6
oklch(93.6% 0.019 240.7)
-
Step 200
200
#C5DDF0
oklch(88.6% 0.037 241.8)
-
Step 300
300
#9BC6E9
oklch(80.8% 0.067 243.3)
-
Step 400
400
#60A8DE
oklch(70.6% 0.108 242.7)
-
Step 500
500
#2791D5
oklch(63.1% 0.137 242.7)
-
Step 600
600
#007ABA
oklch(55.6% 0.133 242.5)
-
Step 700
700
#00669D
oklch(49% 0.118 242.7)
-
Step 800
800
#005482
oklch(42.8% 0.102 242.4)
-
Step 900
900
#02466D
oklch(37.8% 0.089 242.5)
-
Step 950
950 (this color)
#012238
oklch(24.2% 0.056 242.5)
#012238 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) | #172339 | 0.025 |
| Deuteranopia (no green cones) | #0F1E38 | 0.018 |
| Tritanopia (no blue cones) | #00272A | 0.037 |
| Achromatopsia (no color) | #202020 | 0.056 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #012238
#012238
oklch(24.2% 0.056 242.5)
- #321900
#321900
oklch(24.3% 0.055 63)
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 #012238, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.033
- Dark #1B2431 ΔE 0.034
- Oxford Blue #1B263B ΔE 0.035
- Jet #212529 ΔE 0.051
- Navy Blue #001146 ΔE 0.061
- Space Cadet #2B2D42 ΔE 0.072
- Rich Navy #001219 ΔE 0.078
- Gunmetal #293241 ΔE 0.079
Use #012238 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.