#122973#122973
#122973 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.7% C 0.130 H 265.8°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #122973 |
|---|---|
| RGB | rgb(18, 41, 115) |
| HSL | hsl(226, 73%, 26%) |
| HSV | hsv(226, 84%, 45%) |
| CMYK | cmyk(84.3%, 64.3%, 0%, 54.9%) |
| CIE-LAB | lab(19.85, 21.34, -44.96) |
| CIE-LCH | lch(19.85, 49.77, 295.39°) |
| OKLab | oklab(31.71% -0.0096 -0.1301) |
| OKLCH | oklch(31.71% 0.13 265.8) |
| XYZ | xyz(4.1358, 2.9518, 16.5681) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.21
Midnight Blue
#191970
ΔE00 5.37
Marine Blue
#01386A
ΔE00 7.32
Royal
#0C1793
ΔE00 7.84
Navy Blue
#1B2A4A
ΔE00 8.14
Darkish Blue
#014182
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122973 #735C12
analogous
#125973 #122973 #2B1273
triadic
#122973 #731229 #297312
tetradic
#122973 #731259 #735C12 #12732B
square
#122973 #731259 #735C12 #12732B
split-complementary
#122973 #732B12 #597312
monochromatic
#04091A #0A163E #122973 #1A3CA8 #234FDD
Accessibility & contrast
On white
13.20
#122973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#122973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122973
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122973 | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #122973; /* rgb */ color: rgb(18, 41, 115); /* oklch */ color: oklch(31.7% 0.130 265.8);
Tailwind
colors: {
custom: {
50: '#63629c',
500: '#122973',
950: '#000000',
},
}SCSS
$custom: #122973; $custom-light: #63629c; $custom-dark: #000000;
JSON
{
"hex": "#122973",
"rgb": {
"r": 18,
"g": 41,
"b": 115
},
"hsl": {
"h": 225.773,
"s": 72.932,
"l": 26.078
},
"oklch": {
"l": 0.31712,
"c": 0.13045,
"h": 265.8
},
"luminance": 0.02952
}Semantic roles & 50–950 ramp
primary
#122973
secondary
#AA8F37
accent
#C438F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E