#1B116F#1B116F
#1B116F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.150 H 275.2°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1B116F |
|---|---|
| RGB | rgb(27, 17, 111) |
| HSL | hsl(246, 73%, 25%) |
| HSV | hsv(246, 85%, 44%) |
| CMYK | cmyk(75.7%, 84.7%, 0%, 56.5%) |
| CIE-LAB | lab(14.29, 36.09, -51.50) |
| CIE-LCH | lch(14.29, 62.89, 305.02°) |
| OKLab | oklab(27.72% 0.0136 -0.1489) |
| OKLCH | oklch(27.72% 0.15 275.2) |
| XYZ | xyz(3.5207, 1.7813, 15.1941) |
| Luminance | 0.0178 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.05
Dark Royal Blue
#02066F
ΔE00 2.55
Darkblue (survey)
#030764
ΔE00 2.92
Deep Blue
#040273
ΔE00 3.12
Navy
#000080
ΔE00 4.10
Dark Blue
#00035B
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B116F #656F11
analogous
#11366F #1B116F #4A116F
triadic
#1B116F #6F1B11 #116F1B
tetradic
#1B116F #6F1136 #656F11 #116F4A
square
#1B116F #6F1136 #656F11 #116F4A
split-complementary
#1B116F #6F4A11 #366F11
monochromatic
#06041B #0E093A #1B116F #2819A4 #3521D9
Accessibility & contrast
On white
15.48
#1B116F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#1B116F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B116F
15.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B116F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B116F | 1.00 | 15.48 | 1.36 | 15.48 |
| #FFFFFF | 15.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #1b116f; /* rgb */ color: rgb(27, 17, 111); /* oklch */ color: oklch(27.7% 0.150 275.2);
Tailwind
colors: {
custom: {
50: '#675299',
500: '#1b116f',
950: '#000000',
},
}SCSS
$custom: #1b116f; $custom-light: #675299; $custom-dark: #000000;
JSON
{
"hex": "#1b116f",
"rgb": {
"r": 27,
"g": 17,
"b": 111
},
"hsl": {
"h": 246.383,
"s": 73.438,
"l": 25.098
},
"oklch": {
"l": 0.27717,
"c": 0.14954,
"h": 275.2
},
"luminance": 0.01782
}Semantic roles & 50–950 ramp
primary
#1B116F
secondary
#9AA635
accent
#F038DC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E