#122C58#122C58
#122C58 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.086 H 260.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #122C58 |
|---|---|
| RGB | rgb(18, 44, 88) |
| HSL | hsl(218, 66%, 21%) |
| HSV | hsv(218, 80%, 35%) |
| CMYK | cmyk(79.5%, 50%, 0%, 65.5%) |
| CIE-LAB | lab(18.52, 7.67, -29.46) |
| CIE-LCH | lch(18.52, 30.44, 284.58°) |
| OKLab | oklab(30% -0.0145 -0.0845) |
| OKLCH | oklch(30% 0.086 260.2) |
| XYZ | xyz(2.9110, 2.6342, 9.5857) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.06
Navy Blue
#1B2A4A
ΔE00 3.46
Marine Blue
#01386A
ΔE00 5.26
Navy (survey)
#01153E
ΔE00 7.47
Darkish Blue
#014182
ΔE00 8.57
Twilight Blue
#0A437A
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122C58 #583E12
analogous
#124F58 #122C58 #1B1258
triadic
#122C58 #58122C #2C5812
tetradic
#122C58 #58124F #583E12 #12581B
square
#122C58 #58124F #583E12 #12581B
split-complementary
#122C58 #581B12 #4F5812
monochromatic
#050D19 #081325 #122C58 #1C458B #275FBE
Accessibility & contrast
On white
13.75
#122C58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#122C58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122C58
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122C58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122C58 | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#15315A
Deuteranopia (green-blind)
#052A57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #122c58; /* rgb */ color: rgb(18, 44, 88); /* oklch */ color: oklch(30.0% 0.086 260.2);
Tailwind
colors: {
custom: {
50: '#5b6487',
500: '#122c58',
950: '#000000',
},
}SCSS
$custom: #122c58; $custom-light: #5b6487; $custom-dark: #000000;
JSON
{
"hex": "#122c58",
"rgb": {
"r": 18,
"g": 44,
"b": 88
},
"hsl": {
"h": 217.714,
"s": 66.038,
"l": 20.784
},
"oklch": {
"l": 0.29998,
"c": 0.08571,
"h": 260.2
},
"luminance": 0.02635
}Semantic roles & 50–950 ramp
primary
#122C58
secondary
#916F35
accent
#AA3FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C