#122B71#122B71
#122B71 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.125 H 265.0°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #122B71 |
|---|---|
| RGB | rgb(18, 43, 113) |
| HSL | hsl(224, 73%, 26%) |
| HSV | hsv(224, 84%, 44%) |
| CMYK | cmyk(84.1%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(20.24, 19.07, -43.05) |
| CIE-LCH | lch(20.24, 47.08, 293.89°) |
| OKLab | oklab(31.94% -0.011 -0.1244) |
| OKLCH | oklch(31.94% 0.125 265) |
| XYZ | xyz(4.0929, 3.0481, 15.9922) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.38
Midnight Blue
#191970
ΔE00 6.25
Marine Blue
#01386A
ΔE00 6.50
Navy Blue
#1B2A4A
ΔE00 7.60
Darkish Blue
#014182
ΔE00 8.18
Royal
#0C1793
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122B71 #715812
analogous
#125A71 #122B71 #291271
triadic
#122B71 #71122B #2B7112
tetradic
#122B71 #71125A #715812 #127129
square
#122B71 #71125A #715812 #127129
split-complementary
#122B71 #712912 #5A7112
monochromatic
#040A1A #0A173C #122B71 #1A3FA6 #2353DB
Accessibility & contrast
On white
13.05
#122B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#122B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122B71
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122B71 | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #122b71; /* rgb */ color: rgb(18, 43, 113); /* oklch */ color: oklch(31.9% 0.125 265.0);
Tailwind
colors: {
custom: {
50: '#62639a',
500: '#122b71',
950: '#000000',
},
}SCSS
$custom: #122b71; $custom-light: #62639a; $custom-dark: #000000;
JSON
{
"hex": "#122b71",
"rgb": {
"r": 18,
"g": 43,
"b": 113
},
"hsl": {
"h": 224.211,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.31943,
"c": 0.12492,
"h": 265
},
"luminance": 0.03049
}Semantic roles & 50–950 ramp
primary
#122B71
secondary
#A88A37
accent
#BF39EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E