#122C5A#122C5A
#122C5A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.089 H 260.8°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #122C5A |
|---|---|
| RGB | rgb(18, 44, 90) |
| HSL | hsl(218, 67%, 21%) |
| HSV | hsv(218, 80%, 35%) |
| CMYK | cmyk(80%, 51.1%, 0%, 64.7%) |
| CIE-LAB | lab(18.66, 8.52, -30.56) |
| CIE-LCH | lch(18.66, 31.73, 285.59°) |
| OKLab | oklab(30.16% -0.0141 -0.0877) |
| OKLCH | oklch(30.16% 0.089 260.8) |
| XYZ | xyz(2.9949, 2.6678, 10.0280) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.96
Navy Blue
#1B2A4A
ΔE00 3.79
Marine Blue
#01386A
ΔE00 5.25
Navy (survey)
#01153E
ΔE00 7.52
Darkish Blue
#014182
ΔE00 8.46
Twilight Blue
#0A437A
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122C5A #5A4012
analogous
#12505A #122C5A #1C125A
triadic
#122C5A #5A122C #2C5A12
tetradic
#122C5A #5A1250 #5A4012 #125A1C
square
#122C5A #5A1250 #5A4012 #125A1C
split-complementary
#122C5A #5A1C12 #505A12
monochromatic
#050C1A #081327 #122C5A #1C458D #265EC0
Accessibility & contrast
On white
13.69
#122C5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#122C5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122C5A
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122C5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122C5A | 1.00 | 13.69 | 1.53 | 13.69 |
| #FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13315C
Deuteranopia (green-blind)
#022A59
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #122c5a; /* rgb */ color: rgb(18, 44, 90); /* oklch */ color: oklch(30.2% 0.089 260.8);
Tailwind
colors: {
custom: {
50: '#5c6489',
500: '#122c5a',
950: '#000000',
},
}SCSS
$custom: #122c5a; $custom-light: #5c6489; $custom-dark: #000000;
JSON
{
"hex": "#122c5a",
"rgb": {
"r": 18,
"g": 44,
"b": 90
},
"hsl": {
"h": 218.333,
"s": 66.667,
"l": 21.176
},
"oklch": {
"l": 0.30157,
"c": 0.08883,
"h": 260.8
},
"luminance": 0.02668
}Semantic roles & 50–950 ramp
primary
#122C5A
secondary
#937135
accent
#AC3EEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C