#1B0F7F#1B0F7F
#1B0F7F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.171 H 273.2°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0F7F |
|---|---|
| RGB | rgb(27, 15, 127) |
| HSL | hsl(246, 79%, 28%) |
| HSV | hsv(246, 88%, 50%) |
| CMYK | cmyk(78.7%, 88.2%, 0%, 50.2%) |
| CIE-LAB | lab(16.04, 42.15, -58.92) |
| CIE-LCH | lch(16.04, 72.44, 305.58°) |
| OKLab | oklab(29.51% 0.0094 -0.1704) |
| OKLCH | oklch(29.51% 0.171 273.2) |
| XYZ | xyz(4.4523, 2.1065, 20.2465) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.65
Darkblue
#00008B
ΔE00 2.86
Deep Blue
#040273
ΔE00 3.09
Dark Royal Blue
#02066F
ΔE00 3.21
Royal
#0C1793
ΔE00 3.28
Midnight Blue
#191970
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0F7F #737F0F
analogous
#0F3B7F #1B0F7F #530F7F
triadic
#1B0F7F #7F1B0F #0F7F1B
tetradic
#1B0F7F #7F0F3B #737F0F #0F7F53
square
#1B0F7F #7F0F3B #737F0F #0F7F53
split-complementary
#1B0F7F #7F530F #3B7F0F
monochromatic
#06031B #0F0948 #1B0F7F #2715B6 #3823E5
Accessibility & contrast
On white
14.77
#1B0F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1B0F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0F7F
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0F7F | 1.00 | 14.77 | 1.42 | 14.77 |
| #FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.77 | 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: #1b0f7f; /* rgb */ color: rgb(27, 15, 127); /* oklch */ color: oklch(29.5% 0.171 273.2);
Tailwind
colors: {
custom: {
50: '#6c53a5',
500: '#1b0f7f',
950: '#000000',
},
}SCSS
$custom: #1b0f7f; $custom-light: #6c53a5; $custom-dark: #000000;
JSON
{
"hex": "#1b0f7f",
"rgb": {
"r": 27,
"g": 15,
"b": 127
},
"hsl": {
"h": 246.429,
"s": 78.873,
"l": 27.843
},
"oklch": {
"l": 0.2951,
"c": 0.17062,
"h": 273.2
},
"luminance": 0.02107
}Semantic roles & 50–950 ramp
primary
#1B0F7F
secondary
#A8B534
accent
#F532E0
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F