#122772#122772
#122772 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.132 H 266.3°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #122772 |
|---|---|
| RGB | rgb(18, 39, 114) |
| HSL | hsl(227, 73%, 26%) |
| HSV | hsv(227, 84%, 45%) |
| CMYK | cmyk(84.2%, 65.8%, 0%, 55.3%) |
| CIE-LAB | lab(19.20, 22.36, -45.38) |
| CIE-LCH | lch(19.20, 50.59, 296.23°) |
| OKLab | oklab(31.2% -0.0084 -0.1313) |
| OKLCH | oklch(31.2% 0.132 266.3) |
| XYZ | xyz(4.0112, 2.7941, 16.2442) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.73
Marine
#042E60
ΔE00 5.66
Royal
#0C1793
ΔE00 7.46
Marine Blue
#01386A
ΔE00 7.92
Navy Blue
#1B2A4A
ΔE00 8.29
Darkblue (survey)
#030764
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122772 #725D12
analogous
#125772 #122772 #2D1272
triadic
#122772 #721227 #277212
tetradic
#122772 #721257 #725D12 #12722D
square
#122772 #721257 #725D12 #12722D
split-complementary
#122772 #722D12 #577212
monochromatic
#04091A #0A153D #122772 #1A39A7 #234BDC
Accessibility & contrast
On white
13.47
#122772 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#122772 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122772
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122772 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122772 | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #122772; /* rgb */ color: rgb(18, 39, 114); /* oklch */ color: oklch(31.2% 0.132 266.3);
Tailwind
colors: {
custom: {
50: '#63609b',
500: '#122772',
950: '#000000',
},
}SCSS
$custom: #122772; $custom-light: #63609b; $custom-dark: #000000;
JSON
{
"hex": "#122772",
"rgb": {
"r": 18,
"g": 39,
"b": 114
},
"hsl": {
"h": 226.875,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.31201,
"c": 0.13162,
"h": 266.3
},
"luminance": 0.02795
}Semantic roles & 50–950 ramp
primary
#122772
secondary
#A99037
accent
#C738EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E