#1B0E7F#1B0E7F
#1B0E7F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.171 H 273.2°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0E7F |
|---|---|
| RGB | rgb(27, 14, 127) |
| HSL | hsl(247, 80%, 28%) |
| HSV | hsv(247, 89%, 50%) |
| CMYK | cmyk(78.7%, 89%, 0%, 50.2%) |
| CIE-LAB | lab(15.90, 42.57, -59.15) |
| CIE-LCH | lch(15.90, 72.88, 305.74°) |
| OKLab | oklab(29.41% 0.0097 -0.171) |
| OKLCH | oklch(29.41% 0.171 273.2) |
| XYZ | xyz(4.4385, 2.0789, 20.2419) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.51
Darkblue
#00008B
ΔE00 2.75
Deep Blue
#040273
ΔE00 2.98
Dark Royal Blue
#02066F
ΔE00 3.15
Royal
#0C1793
ΔE00 3.36
Midnight Blue
#191970
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0E7F #727F0E
analogous
#0E397F #1B0E7F #540E7F
triadic
#1B0E7F #7F1B0E #0E7F1B
tetradic
#1B0E7F #7F0E39 #727F0E #0E7F54
square
#1B0E7F #7F0E39 #727F0E #0E7F54
split-complementary
#1B0E7F #7F540E #397F0E
monochromatic
#06031C #0F0848 #1B0E7F #2714B6 #3821E7
Accessibility & contrast
On white
14.83
#1B0E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1B0E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0E7F
14.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0E7F | 1.00 | 14.83 | 1.42 | 14.83 |
| #FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b0e7f; /* rgb */ color: rgb(27, 14, 127); /* oklch */ color: oklch(29.4% 0.171 273.2);
Tailwind
colors: {
custom: {
50: '#6c52a5',
500: '#1b0e7f',
950: '#000000',
},
}SCSS
$custom: #1b0e7f; $custom-light: #6c52a5; $custom-dark: #000000;
JSON
{
"hex": "#1b0e7f",
"rgb": {
"r": 27,
"g": 14,
"b": 127
},
"hsl": {
"h": 246.903,
"s": 80.142,
"l": 27.647
},
"oklch": {
"l": 0.29414,
"c": 0.17129,
"h": 273.2
},
"luminance": 0.02079
}Semantic roles & 50–950 ramp
primary
#1B0E7F
secondary
#A7B633
accent
#F731E0
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F