#12254A
Closest named color: Oxford Blue (#1B263B). oklch(27.1% 0.073 262.2), rgb(18, 37, 74).
Aa
White text reads best on this color (15.11:1).
About this color
#12254A is a dark, moderately saturated blue. In OKLCH its lightness is 27%, its chroma 0.073 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.031 away. White text reads best on it, at 15.11:1.
| Hue family | Blues |
| Lightness | dark (27%) |
| Chroma | moderately saturated (0.073) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.38:1 |
| White text | 15.11:1 |
Values
| HEX | #12254A |
| RGB | rgb(18, 37, 74) |
| HSL | hsl(220, 61%, 18%) |
| OKLCH | oklch(27.1% 0.073 262.2) |
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 #12254A | 15.11:1 | AAA | Lc -104.6 | Preferred for body text |
| Black text on #12254A | 1.38:1 | Fails | Lc 0.0 | Not readable |
| #12254A text on white | 15.11:1 | AAA | Lc 101.8 | Preferred for body text |
| #12254A text on black | 1.38: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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E1EAFB
oklch(93.5% 0.025 263.3)
-
Step 200
200
#C8DAFA
oklch(88.5% 0.048 262)
-
Step 300
300
#A2C1F9
oklch(80.8% 0.087 262)
-
Step 400
400
#709FF7
oklch(70.7% 0.139 262.1)
-
Step 500
500
#4B84F3
oklch(63.1% 0.177 262.1)
-
Step 600
600
#2F6AE2
oklch(55.6% 0.193 262.3)
-
Step 700
700
#2258C4
oklch(49.2% 0.179 262.1)
-
Step 800
800
#1E489E
oklch(42.6% 0.148 262.4)
-
Step 900
900
#1D3E7E
oklch(37.8% 0.115 262)
-
Step 950
950 (this color)
#12254A
oklch(27.1% 0.073 262.2)
#12254A 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) | #13294B | 0.013 |
| Deuteranopia (no green cones) | #082449 | 0.011 |
| Tritanopia (no blue cones) | #002E33 | 0.061 |
| Achromatopsia (no color) | #262626 | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12254A
#12254A
oklch(27.1% 0.073 262.2)
- #342300
#342300
oklch(27% 0.056 81.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 #12254A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.031
- Marine #042E60 ΔE 0.045
- Dark #1B2431 ΔE 0.047
- Space Cadet #2B2D42 ΔE 0.051
- Prussian Blue #1D3557 ΔE 0.057
- Gunmetal #293241 ΔE 0.062
- Jet #212529 ΔE 0.065
- Rich Black #0D1B2A ΔE 0.066
Use #12254A 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.