#122E6B#122E6B
#122E6B is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.112 H 263.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #122E6B |
|---|---|
| RGB | rgb(18, 46, 107) |
| HSL | hsl(221, 71%, 25%) |
| HSV | hsv(221, 83%, 42%) |
| CMYK | cmyk(83.2%, 57%, 0%, 58%) |
| CIE-LAB | lab(20.61, 14.35, -38.56) |
| CIE-LCH | lch(20.61, 41.14, 290.41°) |
| OKLab | oklab(32.07% -0.0136 -0.1112) |
| OKLCH | oklch(32.07% 0.112 263) |
| XYZ | xyz(3.8793, 3.1437, 14.3094) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.75
Marine Blue
#01386A
ΔE00 5.03
Navy Blue
#1B2A4A
ΔE00 6.43
Darkish Blue
#014182
ΔE00 7.20
Twilight Blue
#0A437A
ΔE00 7.81
Midnight Blue
#191970
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122E6B #6B4F12
analogous
#125B6B #122E6B #23126B
triadic
#122E6B #6B122E #2E6B12
tetradic
#122E6B #6B125B #6B4F12 #126B23
square
#122E6B #6B125B #6B4F12 #126B23
split-complementary
#122E6B #6B2312 #5B6B12
monochromatic
#040B1A #091737 #122E6B #1B459F #245BD4
Accessibility & contrast
On white
12.89
#122E6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#122E6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122E6B
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122E6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122E6B | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #122e6b; /* rgb */ color: rgb(18, 46, 107); /* oklch */ color: oklch(32.1% 0.112 263.0);
Tailwind
colors: {
custom: {
50: '#606696',
500: '#122e6b',
950: '#000000',
},
}SCSS
$custom: #122e6b; $custom-light: #606696; $custom-dark: #000000;
JSON
{
"hex": "#122e6b",
"rgb": {
"r": 18,
"g": 46,
"b": 107
},
"hsl": {
"h": 221.124,
"s": 71.2,
"l": 24.51
},
"oklch": {
"l": 0.32065,
"c": 0.11202,
"h": 263
},
"luminance": 0.03144
}Semantic roles & 50–950 ramp
primary
#122E6B
secondary
#A28036
accent
#B53AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05050D
muted
#7A7A7E