#122C52#122C52
#122C52 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.076 H 258.0°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #122C52 |
|---|---|
| RGB | rgb(18, 44, 82) |
| HSL | hsl(216, 64%, 20%) |
| HSV | hsv(216, 78%, 32%) |
| CMYK | cmyk(78%, 46.3%, 0%, 67.8%) |
| CIE-LAB | lab(18.09, 5.09, -26.12) |
| CIE-LCH | lch(18.09, 26.61, 281.02°) |
| OKLab | oklab(29.54% -0.0158 -0.0746) |
| OKLCH | oklch(29.54% 0.076 258) |
| XYZ | xyz(2.6726, 2.5389, 8.3302) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.65
Marine
#042E60
ΔE00 2.70
Marine Blue
#01386A
ΔE00 5.40
Navy (survey)
#01153E
ΔE00 7.54
Twilight Blue
#0A437A
ΔE00 8.83
Darkish Blue
#014182
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122C52 #523812
analogous
#124C52 #122C52 #181252
triadic
#122C52 #52122C #2C5212
tetradic
#122C52 #52124C #523812 #125218
square
#122C52 #52124C #523812 #125218
split-complementary
#122C52 #521812 #4C5212
monochromatic
#060D19 #071120 #122C52 #1D4784 #2862B6
Accessibility & contrast
On white
13.93
#122C52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#122C52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122C52
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122C52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122C52 | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2F53
Deuteranopia (green-blind)
#0F2951
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #122c52; /* rgb */ color: rgb(18, 44, 82); /* oklch */ color: oklch(29.5% 0.076 258.0);
Tailwind
colors: {
custom: {
50: '#596483',
500: '#122c52',
950: '#000000',
},
}SCSS
$custom: #122c52; $custom-light: #596483; $custom-dark: #000000;
JSON
{
"hex": "#122c52",
"rgb": {
"r": 18,
"g": 44,
"b": 82
},
"hsl": {
"h": 215.625,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29536,
"c": 0.07631,
"h": 258
},
"luminance": 0.02539
}Semantic roles & 50–950 ramp
primary
#122C52
secondary
#8B6835
accent
#A341E7
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C