#12336E#12336E
#12336E is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.110 H 261.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #12336E |
|---|---|
| RGB | rgb(18, 51, 110) |
| HSL | hsl(218, 72%, 25%) |
| HSV | hsv(218, 84%, 43%) |
| CMYK | cmyk(83.6%, 53.6%, 0%, 56.9%) |
| CIE-LAB | lab(22.38, 12.00, -37.64) |
| CIE-LCH | lch(22.38, 39.50, 287.68°) |
| OKLab | oklab(33.49% -0.0172 -0.1084) |
| OKLCH | oklch(33.49% 0.11 261) |
| XYZ | xyz(4.2467, 3.6215, 15.2240) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.60
Marine Blue
#01386A
ΔE00 3.49
Darkish Blue
#014182
ΔE00 5.49
Twilight Blue
#0A437A
ΔE00 6.05
Navy Blue
#1B2A4A
ΔE00 6.89
Cobalt (survey)
#1E488F
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12336E #6E4D12
analogous
#12616E #12336E #1F126E
triadic
#12336E #6E1233 #336E12
tetradic
#12336E #6E1261 #6E4D12 #126E1F
square
#12336E #6E1261 #6E4D12 #126E1F
split-complementary
#12336E #6E1F12 #616E12
monochromatic
#040C1A #091B39 #12336E #1B4BA3 #2364D7
Accessibility & contrast
On white
12.18
#12336E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#12336E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12336E
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12336E | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C3A70
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #12336e; /* rgb */ color: rgb(18, 51, 110); /* oklch */ color: oklch(33.5% 0.110 261.0);
Tailwind
colors: {
custom: {
50: '#616a98',
500: '#12336e',
950: '#000000',
},
}SCSS
$custom: #12336e; $custom-light: #616a98; $custom-dark: #000000;
JSON
{
"hex": "#12336e",
"rgb": {
"r": 18,
"g": 51,
"b": 110
},
"hsl": {
"h": 218.478,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.33485,
"c": 0.10973,
"h": 261
},
"luminance": 0.03622
}Semantic roles & 50–950 ramp
primary
#12336E
secondary
#A57E37
accent
#AE39EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E