#122074#122074
#122074 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.143 H 268.1°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #122074 |
|---|---|
| RGB | rgb(18, 32, 116) |
| HSL | hsl(231, 73%, 26%) |
| HSV | hsv(231, 84%, 45%) |
| CMYK | cmyk(84.5%, 72.4%, 0%, 54.5%) |
| CIE-LAB | lab(17.56, 28.04, -49.36) |
| CIE-LCH | lch(17.56, 56.77, 299.60°) |
| OKLab | oklab(30.06% -0.0048 -0.143) |
| OKLCH | oklch(30.06% 0.143 268.1) |
| XYZ | xyz(3.9173, 2.4221, 16.7807) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.32
Royal
#0C1793
ΔE00 5.59
Dark Royal Blue
#02066F
ΔE00 6.08
Darkblue (survey)
#030764
ΔE00 6.23
Deep Blue
#040273
ΔE00 6.77
Navy
#000080
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122074 #746612
analogous
#125174 #122074 #351274
triadic
#122074 #741220 #207412
tetradic
#122074 #741251 #746612 #127435
square
#122074 #741251 #746612 #127435
split-complementary
#122074 #743512 #517412
monochromatic
#04071A #0A113F #122074 #1A2FA9 #233EDD
Accessibility & contrast
On white
14.15
#122074 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#122074 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122074
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122074 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122074 | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #122074; /* rgb */ color: rgb(18, 32, 116); /* oklch */ color: oklch(30.1% 0.143 268.1);
Tailwind
colors: {
custom: {
50: '#645b9d',
500: '#122074',
950: '#000000',
},
}SCSS
$custom: #122074; $custom-light: #645b9d; $custom-dark: #000000;
JSON
{
"hex": "#122074",
"rgb": {
"r": 18,
"g": 32,
"b": 116
},
"hsl": {
"h": 231.429,
"s": 73.134,
"l": 26.275
},
"oklch": {
"l": 0.30064,
"c": 0.1431,
"h": 268.1
},
"luminance": 0.02423
}Semantic roles & 50–950 ramp
primary
#122074
secondary
#AB9A37
accent
#D638F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E