#122952#122952
#122952 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.080 H 261.0°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #122952 |
|---|---|
| RGB | rgb(18, 41, 82) |
| HSL | hsl(218, 64%, 20%) |
| HSV | hsv(218, 78%, 32%) |
| CMYK | cmyk(78%, 50%, 0%, 67.8%) |
| CIE-LAB | lab(17.10, 7.30, -27.71) |
| CIE-LCH | lch(17.10, 28.66, 284.75°) |
| OKLab | oklab(28.77% -0.0126 -0.0794) |
| OKLCH | oklch(28.77% 0.08 261) |
| XYZ | xyz(2.5648, 2.3234, 8.2943) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.63
Marine
#042E60
ΔE00 3.18
Navy (survey)
#01153E
ΔE00 6.39
Marine Blue
#01386A
ΔE00 6.41
Navy Blue (survey)
#001146
ΔE00 7.92
Midnight Blue
#191970
ΔE00 9.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122952 #523B12
analogous
#124952 #122952 #1B1252
triadic
#122952 #521229 #295212
tetradic
#122952 #521249 #523B12 #12521B
square
#122952 #521249 #523B12 #12521B
split-complementary
#122952 #521B12 #495212
monochromatic
#060D19 #071020 #122952 #1D4284 #285BB6
Accessibility & contrast
On white
14.34
#122952 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#122952 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122952
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122952 | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#142D54
Deuteranopia (green-blind)
#072751
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #122952; /* rgb */ color: rgb(18, 41, 82); /* oklch */ color: oklch(28.8% 0.080 261.0);
Tailwind
colors: {
custom: {
50: '#5a6283',
500: '#122952',
950: '#000000',
},
}SCSS
$custom: #122952; $custom-light: #5a6283; $custom-dark: #000000;
JSON
{
"hex": "#122952",
"rgb": {
"r": 18,
"g": 41,
"b": 82
},
"hsl": {
"h": 218.438,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.28769,
"c": 0.08038,
"h": 261
},
"luminance": 0.02324
}Semantic roles & 50–950 ramp
primary
#122952
secondary
#8B6C35
accent
#AB41E7
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C