#122B70#122B70
#122B70 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.123 H 264.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #122B70 |
|---|---|
| RGB | rgb(18, 43, 112) |
| HSL | hsl(224, 72%, 25%) |
| HSV | hsv(224, 84%, 44%) |
| CMYK | cmyk(83.9%, 61.6%, 0%, 56.1%) |
| CIE-LAB | lab(20.15, 18.65, -42.55) |
| CIE-LCH | lch(20.15, 46.46, 293.67°) |
| OKLab | oklab(31.85% -0.011 -0.123) |
| OKLCH | oklch(31.85% 0.123 264.9) |
| XYZ | xyz(4.0369, 3.0257, 15.6974) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.24
Midnight Blue
#191970
ΔE00 6.34
Marine Blue
#01386A
ΔE00 6.43
Navy Blue
#1B2A4A
ΔE00 7.44
Darkish Blue
#014182
ΔE00 8.18
Royal
#0C1793
ΔE00 8.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122B70 #705712
analogous
#125A70 #122B70 #281270
triadic
#122B70 #70122B #2B7012
tetradic
#122B70 #70125A #705712 #127028
square
#122B70 #70125A #705712 #127028
split-complementary
#122B70 #702812 #5A7012
monochromatic
#040A1A #0A173B #122B70 #1A3FA5 #2353D9
Accessibility & contrast
On white
13.08
#122B70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#122B70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122B70
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122B70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122B70 | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #122b70; /* rgb */ color: rgb(18, 43, 112); /* oklch */ color: oklch(31.8% 0.123 264.9);
Tailwind
colors: {
custom: {
50: '#62639a',
500: '#122b70',
950: '#000000',
},
}SCSS
$custom: #122b70; $custom-light: #62639a; $custom-dark: #000000;
JSON
{
"hex": "#122b70",
"rgb": {
"r": 18,
"g": 43,
"b": 112
},
"hsl": {
"h": 224.043,
"s": 72.308,
"l": 25.49
},
"oklch": {
"l": 0.31849,
"c": 0.12346,
"h": 264.9
},
"luminance": 0.03026
}Semantic roles & 50–950 ramp
primary
#122B70
secondary
#A78937
accent
#BF39EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E