#1B0F7E#1B0F7E
#1B0F7E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.169 H 273.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0F7E |
|---|---|
| RGB | rgb(27, 15, 126) |
| HSL | hsl(246, 79%, 28%) |
| HSV | hsv(246, 88%, 49%) |
| CMYK | cmyk(78.6%, 88.1%, 0%, 50.6%) |
| CIE-LAB | lab(15.90, 41.84, -58.50) |
| CIE-LCH | lch(15.90, 71.92, 305.57°) |
| OKLab | oklab(29.38% 0.0097 -0.1691) |
| OKLCH | oklch(29.38% 0.169 273.3) |
| XYZ | xyz(4.3875, 2.0806, 19.9050) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.66
Darkblue
#00008B
ΔE00 2.95
Deep Blue
#040273
ΔE00 3.01
Dark Royal Blue
#02066F
ΔE00 3.10
Royal
#0C1793
ΔE00 3.41
Midnight Blue
#191970
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0F7E #727E0F
analogous
#0F3B7E #1B0F7E #520F7E
triadic
#1B0F7E #7E1B0F #0F7E1B
tetradic
#1B0F7E #7E0F3B #727E0F #0F7E52
square
#1B0F7E #7E0F3B #727E0F #0F7E52
split-complementary
#1B0F7E #7E520F #3B7E0F
monochromatic
#06031B #0F0847 #1B0F7E #2716B5 #3823E5
Accessibility & contrast
On white
14.83
#1B0F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1B0F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0F7E
14.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0F7E | 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)
#002D81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b0f7e; /* rgb */ color: rgb(27, 15, 126); /* oklch */ color: oklch(29.4% 0.169 273.3);
Tailwind
colors: {
custom: {
50: '#6b52a5',
500: '#1b0f7e',
950: '#000000',
},
}SCSS
$custom: #1b0f7e; $custom-light: #6b52a5; $custom-dark: #000000;
JSON
{
"hex": "#1b0f7e",
"rgb": {
"r": 27,
"g": 15,
"b": 126
},
"hsl": {
"h": 246.486,
"s": 78.723,
"l": 27.647
},
"oklch": {
"l": 0.29382,
"c": 0.16943,
"h": 273.3
},
"luminance": 0.02081
}Semantic roles & 50–950 ramp
primary
#1B0F7E
secondary
#A7B534
accent
#F533E0
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F