#122D56#122D56
#122D56 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.081 H 258.7°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).
Color values
| HEX | #122D56 |
|---|---|
| RGB | rgb(18, 45, 86) |
| HSL | hsl(216, 65%, 20%) |
| HSV | hsv(216, 79%, 34%) |
| CMYK | cmyk(79.1%, 47.7%, 0%, 66.3%) |
| CIE-LAB | lab(18.70, 6.07, -27.83) |
| CIE-LCH | lch(18.70, 28.49, 282.31°) |
| OKLab | oklab(30.1% -0.0159 -0.0796) |
| OKLCH | oklch(30.1% 0.081 258.7) |
| XYZ | xyz(2.8669, 2.6769, 9.1679) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.10
Navy Blue
#1B2A4A
ΔE00 3.20
Marine Blue
#01386A
ΔE00 4.94
Navy (survey)
#01153E
ΔE00 7.81
Twilight Blue
#0A437A
ΔE00 8.37
Darkish Blue
#014182
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122D56 #563B12
analogous
#124F56 #122D56 #191256
triadic
#122D56 #56122D #2D5612
tetradic
#122D56 #56124F #563B12 #125619
square
#122D56 #56124F #563B12 #125619
split-complementary
#122D56 #561912 #4F5612
monochromatic
#050D19 #071323 #122D56 #1D4789 #2762BB
Accessibility & contrast
On white
13.68
#122D56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#122D56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122D56
13.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122D56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122D56 | 1.00 | 13.68 | 1.54 | 13.68 |
| #FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193158
Deuteranopia (green-blind)
#0C2B55
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #122d56; /* rgb */ color: rgb(18, 45, 86); /* oklch */ color: oklch(30.1% 0.081 258.7);
Tailwind
colors: {
custom: {
50: '#5a6586',
500: '#122d56',
950: '#000000',
},
}SCSS
$custom: #122d56; $custom-light: #5a6586; $custom-dark: #000000;
JSON
{
"hex": "#122d56",
"rgb": {
"r": 18,
"g": 45,
"b": 86
},
"hsl": {
"h": 216.176,
"s": 65.385,
"l": 20.392
},
"oklch": {
"l": 0.30095,
"c": 0.08123,
"h": 258.7
},
"luminance": 0.02677
}Semantic roles & 50–950 ramp
primary
#122D56
secondary
#8F6B35
accent
#A53FE8
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C