#12295F
Closest named color: Marine (#042E60). oklch(29.9% 0.101 263.9), rgb(18, 41, 95).
Aa
White text reads best on this color (13.92:1).
About this color
#12295F is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.101 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.016 away. White text reads best on it, at 13.92:1.
| Hue family | Blues |
| Lightness | dark (30%) |
| Chroma | moderately saturated (0.101) |
| Temperature | cool |
| Nearest name | Marine (#042E60) |
| Black text | 1.50:1 |
| White text | 13.92:1 |
Values
| HEX | #12295F |
| RGB | rgb(18, 41, 95) |
| HSL | hsl(222, 68%, 22%) |
| OKLCH | oklch(29.9% 0.101 263.9) |
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 #12295F | 13.92:1 | AAA | Lc -103.3 | Preferred for body text |
| Black text on #12295F | 1.50:1 | Fails | Lc 0.0 | Not readable |
| #12295F text on white | 13.92:1 | AAA | Lc 100.2 | Preferred for body text |
| #12295F text on black | 1.50: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
#F1F6FF
oklch(97.2% 0.013 262.4)
-
Step 100
100
#E0EAFF
oklch(93.6% 0.03 265.3)
-
Step 200
200
#C7DAFF
oklch(88.6% 0.055 263.7)
-
Step 300
300
#A1C0FF
oklch(80.8% 0.096 264.1)
-
Step 400
400
#6F9DFF
oklch(70.7% 0.152 263.9)
-
Step 500
500
#4980FF
oklch(63% 0.198 264)
-
Step 600
600
#225FFF
oklch(55.5% 0.245 263.9)
-
Step 700
700
#0E48E9
oklch(49.1% 0.246 263.9)
-
Step 800
800
#0E3DBC
oklch(42.7% 0.204 263.9)
-
Step 900
900
#123794
oklch(37.8% 0.159 263.8)
-
Step 950
950 (this color)
#12295F
oklch(29.9% 0.101 263.9)
#12295F 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) | #033061 | 0.021 |
| Deuteranopia (no green cones) | #00295E | 0.014 |
| Tritanopia (no blue cones) | #00363F | 0.080 |
| Achromatopsia (no color) | #2C2C2C | 0.101 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12295F
#12295F
oklch(29.9% 0.101 263.9)
- #3C2A00
#3C2A00
oklch(29.8% 0.061 83.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 #12295F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine #042E60 ΔE 0.016
- Prussian Blue #1D3557 ΔE 0.045
- Marine Blue #01386A ΔE 0.046
- Midnight Blue #191970 ΔE 0.048
- Oxford Blue #1B263B ΔE 0.065
- Space Cadet #2B2D42 ΔE 0.065
- Midnight Green #073B4C ΔE 0.072
- Gunmetal #293241 ΔE 0.073
Use #12295F 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.