#122576#122576
#122576 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.140 H 267.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #122576 |
|---|---|
| RGB | rgb(18, 37, 118) |
| HSL | hsl(229, 74%, 27%) |
| HSV | hsv(229, 85%, 46%) |
| CMYK | cmyk(84.7%, 68.6%, 0%, 53.7%) |
| CIE-LAB | lab(19.05, 25.40, -48.20) |
| CIE-LCH | lch(19.05, 54.48, 297.79°) |
| OKLab | oklab(31.21% -0.0074 -0.1396) |
| OKLCH | oklch(31.21% 0.14 267) |
| XYZ | xyz(4.1799, 2.7592, 17.4483) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.85
Royal
#0C1793
ΔE00 6.34
Marine
#042E60
ΔE00 6.72
Dark Royal Blue
#02066F
ΔE00 7.62
Darkblue (survey)
#030764
ΔE00 7.75
Deep Blue
#040273
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122576 #766312
analogous
#125776 #122576 #311276
triadic
#122576 #761225 #257612
tetradic
#122576 #761257 #766312 #127631
square
#122576 #761257 #766312 #127631
split-complementary
#122576 #763112 #577612
monochromatic
#04081B #0A1441 #122576 #1A36AB #2548DE
Accessibility & contrast
On white
13.53
#122576 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#122576 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122576
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122576 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122576 | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #122576; /* rgb */ color: rgb(18, 37, 118); /* oklch */ color: oklch(31.2% 0.140 267.0);
Tailwind
colors: {
custom: {
50: '#645f9e',
500: '#122576',
950: '#000000',
},
}SCSS
$custom: #122576; $custom-light: #645f9e; $custom-dark: #000000;
JSON
{
"hex": "#122576",
"rgb": {
"r": 18,
"g": 37,
"b": 118
},
"hsl": {
"h": 228.6,
"s": 73.529,
"l": 26.667
},
"oklch": {
"l": 0.31213,
"c": 0.13979,
"h": 267
},
"luminance": 0.0276
}Semantic roles & 50–950 ramp
primary
#122576
secondary
#AD9637
accent
#CD38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E