#122F81#122F81
#122F81 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.142 H 264.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #122F81 |
|---|---|
| RGB | rgb(18, 47, 129) |
| HSL | hsl(224, 76%, 29%) |
| HSV | hsv(224, 86%, 51%) |
| CMYK | cmyk(86%, 63.6%, 0%, 49.4%) |
| CIE-LAB | lab(22.81, 22.84, -49.02) |
| CIE-LCH | lch(22.81, 54.08, 294.98°) |
| OKLab | oklab(34.32% -0.0131 -0.1419) |
| OKLCH | oklch(34.32% 0.142 264.7) |
| XYZ | xyz(5.2270, 3.7460, 21.2122) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.95
Sapphire (survey)
#2138AB
ΔE00 6.58
Marine Blue
#01386A
ΔE00 6.70
Midnight Blue
#191970
ΔE00 6.98
Darkish Blue
#014182
ΔE00 7.21
Royal
#0C1793
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122F81 #816412
analogous
#126781 #122F81 #2D1281
triadic
#122F81 #81122F #2F8112
tetradic
#122F81 #811267 #816412 #12812D
square
#122F81 #811267 #816412 #12812D
split-complementary
#122F81 #812D12 #678112
monochromatic
#040A1B #0B1B4B #122F81 #1943B7 #2C5BE2
Accessibility & contrast
On white
12.00
#122F81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#122F81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122F81
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122F81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122F81 | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00317F
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #122f81; /* rgb */ color: rgb(18, 47, 129); /* oklch */ color: oklch(34.3% 0.142 264.7);
Tailwind
colors: {
custom: {
50: '#6667a6',
500: '#122f81',
950: '#000000',
},
}SCSS
$custom: #122f81; $custom-light: #6667a6; $custom-dark: #000000;
JSON
{
"hex": "#122f81",
"rgb": {
"r": 18,
"g": 47,
"b": 129
},
"hsl": {
"h": 224.324,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.34315,
"c": 0.14249,
"h": 264.7
},
"luminance": 0.03747
}Semantic roles & 50–950 ramp
primary
#122F81
secondary
#B79638
accent
#C136F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F