#1B1981#1B1981
#1B1981 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.165 H 272.0°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1981 |
|---|---|
| RGB | rgb(27, 25, 129) |
| HSL | hsl(241, 68%, 30%) |
| HSV | hsv(241, 81%, 51%) |
| CMYK | cmyk(79.1%, 80.6%, 0%, 49.4%) |
| CIE-LAB | lab(17.98, 37.86, -56.97) |
| CIE-LCH | lch(17.98, 68.41, 303.61°) |
| OKLab | oklab(30.93% 0.0059 -0.1649) |
| OKLCH | oklch(30.93% 0.165 272) |
| XYZ | xyz(4.7607, 2.5127, 20.9987) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.70
Midnight Blue
#191970
ΔE00 2.76
Darkblue
#00008B
ΔE00 4.42
Navy
#000080
ΔE00 4.48
Dark Royal Blue
#02066F
ΔE00 4.59
Deep Blue
#040273
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1981 #7F8119
analogous
#194B81 #1B1981 #4F1981
triadic
#1B1981 #811B19 #19811B
tetradic
#1B1981 #81194B #7F8119 #19814F
square
#1B1981 #81194B #7F8119 #19814F
split-complementary
#1B1981 #814F19 #4B8119
monochromatic
#06051A #100F4E #1B1981 #2623B4 #3E3BD9
Accessibility & contrast
On white
13.98
#1B1981 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1B1981 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1981
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1981 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1981 | 1.00 | 13.98 | 1.50 | 13.98 |
| #FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1b1981; /* rgb */ color: rgb(27, 25, 129); /* oklch */ color: oklch(30.9% 0.165 272.0);
Tailwind
colors: {
custom: {
50: '#6b58a7',
500: '#1b1981',
950: '#000000',
},
}SCSS
$custom: #1b1981; $custom-light: #6b58a7; $custom-dark: #000000;
JSON
{
"hex": "#1b1981",
"rgb": {
"r": 27,
"g": 25,
"b": 129
},
"hsl": {
"h": 241.154,
"s": 67.532,
"l": 30.196
},
"oklch": {
"l": 0.30927,
"c": 0.165,
"h": 272
},
"luminance": 0.02513
}Semantic roles & 50–950 ramp
primary
#1B1981
secondary
#B3B541
accent
#EA3DE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F