#012540
Closest named color: Oxford Blue (#1B263B). oklch(25.6% 0.065 246), rgb(1, 37, 64).
Aa
White text reads best on this color (15.67:1).
About this color
#012540 is a dark, muted blue. In OKLCH its lightness is 26%, its chroma 0.065 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.030 away. White text reads best on it, at 15.67:1.
| Hue family | Blues |
| Lightness | dark (26%) |
| Chroma | muted (0.065) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.33:1 |
| White text | 15.67:1 |
Values
| HEX | #012540 |
| RGB | rgb(1, 37, 64) |
| HSL | hsl(206, 97%, 13%) |
| OKLCH | oklch(25.6% 0.065 246) |
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 #012540 | 15.67:1 | AAA | Lc -105.0 | Preferred for body text |
| Black text on #012540 | 1.33:1 | Fails | Lc 0.0 | Not readable |
| #012540 text on white | 15.67:1 | AAA | Lc 102.3 | Preferred for body text |
| #012540 text on black | 1.33: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
#F0F6FC
oklch(97% 0.01 247.9)
-
Step 100
100
#DEECF8
oklch(93.6% 0.022 243.8)
-
Step 200
200
#C3DDF4
oklch(88.6% 0.042 245)
-
Step 300
300
#98C6F0
oklch(80.9% 0.077 246.5)
-
Step 400
400
#5AA7E8
oklch(70.6% 0.123 246.2)
-
Step 500
500
#168FE1
oklch(63% 0.156 246.2)
-
Step 600
600
#0078C1
oklch(55.5% 0.143 246.2)
-
Step 700
700
#0065A3
oklch(49.1% 0.126 245.9)
-
Step 800
800
#005387
oklch(42.8% 0.11 245.8)
-
Step 900
900
#004571
oklch(37.8% 0.096 245.5)
-
Step 950
950 (this color)
#012540
oklch(25.6% 0.065 246)
#012540 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) | #182641 | 0.025 |
| Deuteranopia (no green cones) | #0E213F | 0.016 |
| Tritanopia (no blue cones) | #002C2F | 0.046 |
| Achromatopsia (no color) | #232323 | 0.065 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #012540
#012540
oklch(25.6% 0.065 246)
- #351C00
#351C00
oklch(25.5% 0.057 65.4)
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 #012540, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.030
- Dark #1B2431 ΔE 0.038
- Rich Black #0D1B2A ΔE 0.048
- Jet #212529 ΔE 0.055
- Space Cadet #2B2D42 ΔE 0.062
- Marine #042E60 ΔE 0.063
- Navy Blue #001146 ΔE 0.064
- Gunmetal #293241 ΔE 0.069
Use #012540 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.