#12276E#12276E
#12276E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.8% C 0.126 H 266.2°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #12276E |
|---|---|
| RGB | rgb(18, 39, 110) |
| HSL | hsl(226, 72%, 25%) |
| HSV | hsv(226, 84%, 43%) |
| CMYK | cmyk(83.6%, 64.5%, 0%, 56.9%) |
| CIE-LAB | lab(18.82, 20.70, -43.42) |
| CIE-LCH | lch(18.82, 48.10, 295.49°) |
| OKLab | oklab(30.8% -0.0084 -0.1256) |
| OKLCH | oklch(30.8% 0.126 266.2) |
| XYZ | xyz(3.7885, 2.7050, 15.0713) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.05
Marine
#042E60
ΔE00 5.17
Marine Blue
#01386A
ΔE00 7.68
Navy Blue
#1B2A4A
ΔE00 7.69
Navy Blue (survey)
#001146
ΔE00 8.08
Royal
#0C1793
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12276E #6E5912
analogous
#12556E #12276E #2B126E
triadic
#12276E #6E1227 #276E12
tetradic
#12276E #6E1255 #6E5912 #126E2B
square
#12276E #6E1255 #6E5912 #126E2B
split-complementary
#12276E #6E2B12 #556E12
monochromatic
#04091A #091439 #12276E #1B3AA3 #234CD7
Accessibility & contrast
On white
13.63
#12276E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#12276E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12276E
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12276E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12276E | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #12276e; /* rgb */ color: rgb(18, 39, 110); /* oklch */ color: oklch(30.8% 0.126 266.2);
Tailwind
colors: {
custom: {
50: '#626098',
500: '#12276e',
950: '#000000',
},
}SCSS
$custom: #12276e; $custom-light: #626098; $custom-dark: #000000;
JSON
{
"hex": "#12276e",
"rgb": {
"r": 18,
"g": 39,
"b": 110
},
"hsl": {
"h": 226.304,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.30804,
"c": 0.12587,
"h": 266.2
},
"luminance": 0.02705
}Semantic roles & 50–950 ramp
primary
#12276E
secondary
#A58C37
accent
#C539EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E