#12284E
Closest named color: Marine (#042E60). oklch(28.2% 0.075 260.5), rgb(18, 40, 78).
Aa
White text reads best on this color (14.59:1).
About this color
#12284E is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.075 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.035 away. White text reads best on it, at 14.59:1.
| Hue family | Blues |
| Lightness | dark (28%) |
| Chroma | moderately saturated (0.075) |
| Temperature | cool |
| Nearest name | Marine (#042E60) |
| Black text | 1.43:1 |
| White text | 14.59:1 |
Values
| HEX | #12284E |
| RGB | rgb(18, 40, 78) |
| HSL | hsl(218, 63%, 19%) |
| OKLCH | oklch(28.2% 0.075 260.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 #12284E | 14.59:1 | AAA | Lc -104.1 | Preferred for body text |
| Black text on #12284E | 1.43:1 | Fails | Lc 0.0 | Not readable |
| #12284E text on white | 14.59:1 | AAA | Lc 101.2 | Preferred for body text |
| #12284E text on black | 1.43: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
#E0EBFC
oklch(93.7% 0.026 259)
-
Step 200
200
#C7DAFB
oklch(88.5% 0.05 261.5)
-
Step 300
300
#A0C2FB
oklch(81% 0.089 260.6)
-
Step 400
400
#6BA0F9
oklch(70.8% 0.143 260.3)
-
Step 500
500
#4385F6
oklch(63.2% 0.182 260.4)
-
Step 600
600
#236BE5
oklch(55.7% 0.199 260.5)
-
Step 700
700
#1658C7
oklch(49.1% 0.185 260.6)
-
Step 800
800
#1549A1
oklch(42.8% 0.153 260.5)
-
Step 900
900
#183E7F
oklch(37.6% 0.118 260.4)
-
Step 950
950 (this color)
#12284E
oklch(28.2% 0.075 260.5)
#12284E 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) | #152C4F | 0.014 |
| Deuteranopia (no green cones) | #0A264D | 0.011 |
| Tritanopia (no blue cones) | #003137 | 0.060 |
| Achromatopsia (no color) | #292929 | 0.075 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12284E
#12284E
oklch(28.2% 0.075 260.5)
- #382600
#382600
oklch(28.3% 0.058 81.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 #12284E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine #042E60 ΔE 0.035
- Oxford Blue #1B263B ΔE 0.035
- Prussian Blue #1D3557 ΔE 0.046
- Space Cadet #2B2D42 ΔE 0.047
- Dark #1B2431 ΔE 0.053
- Gunmetal #293241 ΔE 0.057
- Midnight Green #073B4C ΔE 0.064
- Marine Blue #01386A ΔE 0.064
Use #12284E 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.