#1B117E#1B117E
#1B117E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.6% C 0.168 H 273.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1B117E |
|---|---|
| RGB | rgb(27, 17, 126) |
| HSL | hsl(246, 76%, 28%) |
| HSV | hsv(246, 87%, 49%) |
| CMYK | cmyk(78.6%, 86.5%, 0%, 50.6%) |
| CIE-LAB | lab(16.20, 40.95, -58.00) |
| CIE-LCH | lch(16.20, 71.00, 305.22°) |
| OKLab | oklab(29.59% 0.0092 -0.1677) |
| OKLCH | oklch(29.59% 0.168 273.1) |
| XYZ | xyz(4.4171, 2.1398, 19.9148) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.97
Midnight Blue
#191970
ΔE00 3.19
Darkblue
#00008B
ΔE00 3.21
Deep Blue
#040273
ΔE00 3.26
Dark Royal Blue
#02066F
ΔE00 3.27
Royal
#0C1793
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B117E #747E11
analogous
#113D7E #1B117E #52117E
triadic
#1B117E #7E1B11 #117E1B
tetradic
#1B117E #7E113D #747E11 #117E52
square
#1B117E #7E113D #747E11 #117E52
split-complementary
#1B117E #7E5211 #3D7E11
monochromatic
#06041B #0F0A48 #1B117E #2718B4 #3927E2
Accessibility & contrast
On white
14.71
#1B117E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1B117E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B117E
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B117E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B117E | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b117e; /* rgb */ color: rgb(27, 17, 126); /* oklch */ color: oklch(29.6% 0.168 273.1);
Tailwind
colors: {
custom: {
50: '#6b53a5',
500: '#1b117e',
950: '#000000',
},
}SCSS
$custom: #1b117e; $custom-light: #6b53a5; $custom-dark: #000000;
JSON
{
"hex": "#1b117e",
"rgb": {
"r": 27,
"g": 17,
"b": 126
},
"hsl": {
"h": 245.505,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.29588,
"c": 0.168,
"h": 273.1
},
"luminance": 0.0214
}Semantic roles & 50–950 ramp
primary
#1B117E
secondary
#A9B437
accent
#F335E1
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F