#122C75#122C75
#122C75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.129 H 264.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #122C75 |
|---|---|
| RGB | rgb(18, 44, 117) |
| HSL | hsl(224, 73%, 26%) |
| HSV | hsv(224, 85%, 46%) |
| CMYK | cmyk(84.6%, 62.4%, 0%, 54.1%) |
| CIE-LAB | lab(20.88, 20.02, -44.56) |
| CIE-LCH | lch(20.88, 48.85, 294.19°) |
| OKLab | oklab(32.54% -0.0115 -0.1289) |
| OKLCH | oklch(32.54% 0.129 264.9) |
| XYZ | xyz(4.3599, 3.2138, 17.2167) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.71
Midnight Blue
#191970
ΔE00 6.34
Marine Blue
#01386A
ΔE00 6.47
Darkish Blue
#014182
ΔE00 7.88
Navy Blue
#1B2A4A
ΔE00 8.10
Royal
#0C1793
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122C75 #755B12
analogous
#125E75 #122C75 #2A1275
triadic
#122C75 #75122C #2C7512
tetradic
#122C75 #75125E #755B12 #12752A
square
#122C75 #75125E #755B12 #12752A
split-complementary
#122C75 #752A12 #5E7512
monochromatic
#040A1B #0A1840 #122C75 #1A40AA #2455DD
Accessibility & contrast
On white
12.78
#122C75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#122C75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122C75
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122C75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122C75 | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #122c75; /* rgb */ color: rgb(18, 44, 117); /* oklch */ color: oklch(32.5% 0.129 264.9);
Tailwind
colors: {
custom: {
50: '#63649d',
500: '#122c75',
950: '#000000',
},
}SCSS
$custom: #122c75; $custom-light: #63649d; $custom-dark: #000000;
JSON
{
"hex": "#122c75",
"rgb": {
"r": 18,
"g": 44,
"b": 117
},
"hsl": {
"h": 224.242,
"s": 73.333,
"l": 26.471
},
"oklch": {
"l": 0.32537,
"c": 0.12938,
"h": 264.9
},
"luminance": 0.03214
}Semantic roles & 50–950 ramp
primary
#122C75
secondary
#AC8D37
accent
#C038F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E