#12276F#12276F
#12276F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.127 H 266.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #12276F |
|---|---|
| RGB | rgb(18, 39, 111) |
| HSL | hsl(226, 72%, 25%) |
| HSV | hsv(226, 84%, 44%) |
| CMYK | cmyk(83.8%, 64.9%, 0%, 56.5%) |
| CIE-LAB | lab(18.92, 21.12, -43.91) |
| CIE-LCH | lch(18.92, 48.73, 295.68°) |
| OKLab | oklab(30.9% -0.0084 -0.127) |
| OKLCH | oklch(30.9% 0.127 266.2) |
| XYZ | xyz(3.8432, 2.7269, 15.3596) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.96
Marine
#042E60
ΔE00 5.29
Marine Blue
#01386A
ΔE00 7.74
Navy Blue
#1B2A4A
ΔE00 7.84
Royal
#0C1793
ΔE00 7.95
Navy Blue (survey)
#001146
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12276F #6F5A12
analogous
#12556F #12276F #2C126F
triadic
#12276F #6F1227 #276F12
tetradic
#12276F #6F1255 #6F5A12 #126F2C
square
#12276F #6F1255 #6F5A12 #126F2C
split-complementary
#12276F #6F2C12 #556F12
monochromatic
#04091A #09143A #12276F #1B3AA4 #234CD8
Accessibility & contrast
On white
13.59
#12276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#12276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12276F
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12276F | 1.00 | 13.59 | 1.55 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #12276f; /* rgb */ color: rgb(18, 39, 111); /* oklch */ color: oklch(30.9% 0.127 266.2);
Tailwind
colors: {
custom: {
50: '#626099',
500: '#12276f',
950: '#000000',
},
}SCSS
$custom: #12276f; $custom-light: #626099; $custom-dark: #000000;
JSON
{
"hex": "#12276f",
"rgb": {
"r": 18,
"g": 39,
"b": 111
},
"hsl": {
"h": 226.452,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.30903,
"c": 0.12732,
"h": 266.2
},
"luminance": 0.02727
}Semantic roles & 50–950 ramp
primary
#12276F
secondary
#A68D37
accent
#C639EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E