#122875#122875
#122875 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.135 H 266.2°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #122875 |
|---|---|
| RGB | rgb(18, 40, 117) |
| HSL | hsl(227, 73%, 26%) |
| HSV | hsv(227, 85%, 46%) |
| CMYK | cmyk(84.6%, 65.8%, 0%, 54.1%) |
| CIE-LAB | lab(19.76, 22.88, -46.39) |
| CIE-LCH | lch(19.76, 51.73, 296.25°) |
| OKLab | oklab(31.71% -0.009 -0.1343) |
| OKLCH | oklch(31.71% 0.135 266.2) |
| XYZ | xyz(4.2180, 2.9300, 17.1694) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.90
Marine
#042E60
ΔE00 5.75
Royal
#0C1793
ΔE00 7.26
Marine Blue
#01386A
ΔE00 7.79
Navy Blue
#1B2A4A
ΔE00 8.58
Dark Royal Blue
#02066F
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122875 #755F12
analogous
#125A75 #122875 #2E1275
triadic
#122875 #751228 #287512
tetradic
#122875 #75125A #755F12 #12752E
square
#122875 #75125A #755F12 #12752E
split-complementary
#122875 #752E12 #5A7512
monochromatic
#04091B #0A1640 #122875 #1A3AAA #244DDD
Accessibility & contrast
On white
13.24
#122875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#122875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122875
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122875 | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #122875; /* rgb */ color: rgb(18, 40, 117); /* oklch */ color: oklch(31.7% 0.135 266.2);
Tailwind
colors: {
custom: {
50: '#64619e',
500: '#122875',
950: '#000000',
},
}SCSS
$custom: #122875; $custom-light: #64619e; $custom-dark: #000000;
JSON
{
"hex": "#122875",
"rgb": {
"r": 18,
"g": 40,
"b": 117
},
"hsl": {
"h": 226.667,
"s": 73.333,
"l": 26.471
},
"oklch": {
"l": 0.31705,
"c": 0.13459,
"h": 266.2
},
"luminance": 0.02931
}Semantic roles & 50–950 ramp
primary
#122875
secondary
#AC9237
accent
#C738F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E