#122850#122850
#122850 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.079 H 261.2°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #122850 |
|---|---|
| RGB | rgb(18, 40, 80) |
| HSL | hsl(219, 63%, 19%) |
| HSV | hsv(219, 78%, 31%) |
| CMYK | cmyk(77.5%, 50%, 0%, 68.6%) |
| CIE-LAB | lab(16.63, 7.18, -27.12) |
| CIE-LCH | lch(16.63, 28.06, 284.83°) |
| OKLab | oklab(28.36% -0.012 -0.0777) |
| OKLCH | oklch(28.36% 0.079 261.2) |
| XYZ | xyz(2.4557, 2.2251, 7.8879) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.42
Marine
#042E60
ΔE00 3.58
Navy (survey)
#01153E
ΔE00 6.04
Marine Blue
#01386A
ΔE00 6.81
Navy Blue (survey)
#001146
ΔE00 7.68
Dark Navy
#000435
ΔE00 9.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122850 #503A12
analogous
#124750 #122850 #1B1250
triadic
#122850 #501228 #285012
tetradic
#122850 #501247 #503A12 #12501B
square
#122850 #501247 #503A12 #12501B
split-complementary
#122850 #501B12 #475012
monochromatic
#060C19 #070F1E #122850 #1D4182 #285AB4
Accessibility & contrast
On white
14.53
#122850 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#122850 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122850
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122850 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122850 | 1.00 | 14.53 | 1.45 | 14.53 |
| #FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#142C52
Deuteranopia (green-blind)
#07264F
Tritanopia (blue-blind)
#003138
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #122850; /* rgb */ color: rgb(18, 40, 80); /* oklch */ color: oklch(28.4% 0.079 261.2);
Tailwind
colors: {
custom: {
50: '#596181',
500: '#122850',
950: '#000000',
},
}SCSS
$custom: #122850; $custom-light: #596181; $custom-dark: #000000;
JSON
{
"hex": "#122850",
"rgb": {
"r": 18,
"g": 40,
"b": 80
},
"hsl": {
"h": 218.71,
"s": 63.265,
"l": 19.216
},
"oklch": {
"l": 0.28359,
"c": 0.07858,
"h": 261.2
},
"luminance": 0.02225
}Semantic roles & 50–950 ramp
primary
#122850
secondary
#896B35
accent
#AC41E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C