#10157E#10157E
#10157E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.168 H 268.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #10157E |
|---|---|
| RGB | rgb(16, 21, 126) |
| HSL | hsl(237, 77%, 28%) |
| HSV | hsv(237, 87%, 49%) |
| CMYK | cmyk(87.3%, 83.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.27, 38.34, -57.92) |
| CIE-LCH | lch(16.27, 69.46, 303.50°) |
| OKLab | oklab(29.46% -0.0047 -0.1678) |
| OKLCH | oklch(29.46% 0.168 268.4) |
| XYZ | xyz(4.2465, 2.1523, 19.9262) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.63
Royal
#0C1793
ΔE00 3.04
Dark Royal Blue
#02066F
ΔE00 3.54
Navy
#000080
ΔE00 3.61
Deep Blue
#040273
ΔE00 3.79
Darkblue
#00008B
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#10157E #7E7910
analogous
#104C7E #10157E #42107E
triadic
#10157E #7E1015 #157E10
tetradic
#10157E #7E104C #7E7910 #107E42
square
#10157E #7E104C #7E7910 #107E42
split-complementary
#10157E #7E4210 #4C7E10
monochromatic
#03051B #090C48 #10157E #171EB4 #252EE3
Accessibility & contrast
On white
14.68
#10157E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#10157E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #10157E
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##10157E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##10157E | 1.00 | 14.68 | 1.43 | 14.68 |
| #FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #10157e; /* rgb */ color: rgb(16, 21, 126); /* oklch */ color: oklch(29.5% 0.168 268.4);
Tailwind
colors: {
custom: {
50: '#6855a5',
500: '#10157e',
950: '#000000',
},
}SCSS
$custom: #10157e; $custom-light: #6855a5; $custom-dark: #000000;
JSON
{
"hex": "#10157e",
"rgb": {
"r": 16,
"g": 21,
"b": 126
},
"hsl": {
"h": 237.273,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.29464,
"c": 0.16784,
"h": 268.4
},
"luminance": 0.02153
}Semantic roles & 50–950 ramp
primary
#10157E
secondary
#B4AF36
accent
#EB34F4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F