#122C74#122C74
#122C74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.128 H 264.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).
Color values
| HEX | #122C74 |
|---|---|
| RGB | rgb(18, 44, 116) |
| HSL | hsl(224, 73%, 26%) |
| HSV | hsv(224, 84%, 45%) |
| CMYK | cmyk(84.5%, 62.1%, 0%, 54.5%) |
| CIE-LAB | lab(20.79, 19.60, -44.07) |
| CIE-LCH | lch(20.79, 48.23, 293.98°) |
| OKLab | oklab(32.44% -0.0115 -0.1274) |
| OKLCH | oklch(32.44% 0.128 264.8) |
| XYZ | xyz(4.3014, 3.1904, 16.9087) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.56
Marine Blue
#01386A
ΔE00 6.39
Midnight Blue
#191970
ΔE00 6.40
Darkish Blue
#014182
ΔE00 7.87
Navy Blue
#1B2A4A
ΔE00 7.95
Royal
#0C1793
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122C74 #745A12
analogous
#125D74 #122C74 #291274
triadic
#122C74 #74122C #2C7412
tetradic
#122C74 #74125D #745A12 #127429
square
#122C74 #74125D #745A12 #127429
split-complementary
#122C74 #742912 #5D7412
monochromatic
#040A1A #0A183F #122C74 #1A40A9 #2355DD
Accessibility & contrast
On white
12.82
#122C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#122C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122C74
12.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122C74 | 1.00 | 12.82 | 1.64 | 12.82 |
| #FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #122c74; /* rgb */ color: rgb(18, 44, 116); /* oklch */ color: oklch(32.4% 0.128 264.8);
Tailwind
colors: {
custom: {
50: '#63649d',
500: '#122c74',
950: '#000000',
},
}SCSS
$custom: #122c74; $custom-light: #63649d; $custom-dark: #000000;
JSON
{
"hex": "#122c74",
"rgb": {
"r": 18,
"g": 44,
"b": 116
},
"hsl": {
"h": 224.082,
"s": 73.134,
"l": 26.275
},
"oklch": {
"l": 0.32442,
"c": 0.12794,
"h": 264.8
},
"luminance": 0.03191
}Semantic roles & 50–950 ramp
primary
#122C74
secondary
#AB8C37
accent
#BF38F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E