#1B1D8B#1B1D8B
#1B1D8B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.174 H 270.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1D8B |
|---|---|
| RGB | rgb(27, 29, 139) |
| HSL | hsl(239, 67%, 33%) |
| HSV | hsv(239, 81%, 55%) |
| CMYK | cmyk(80.6%, 79.1%, 0%, 45.5%) |
| CIE-LAB | lab(19.94, 39.05, -60.01) |
| CIE-LCH | lch(19.94, 71.59, 303.05°) |
| OKLab | oklab(32.66% 0.0024 -0.1738) |
| OKLCH | oklch(32.66% 0.174 270.8) |
| XYZ | xyz(5.5500, 2.9752, 24.7029) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.82
Midnight Blue
#191970
ΔE00 4.20
Cobalt Blue
#030AA7
ΔE00 4.76
Darkblue
#00008B
ΔE00 4.93
Royal Blue (survey)
#0504AA
ΔE00 5.35
Navy
#000080
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1D8B #8B891B
analogous
#1B558B #1B1D8B #511B8B
triadic
#1B1D8B #8B1B1D #1D8B1B
tetradic
#1B1D8B #8B1B55 #8B891B #1B8B51
square
#1B1D8B #8B1B55 #8B891B #1B8B51
split-complementary
#1B1D8B #8B511B #558B1B
monochromatic
#070825 #111258 #1B1D8B #2528BE #4548DB
Accessibility & contrast
On white
13.16
#1B1D8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1B1D8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1D8B
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1D8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1D8B | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b1d8b; /* rgb */ color: rgb(27, 29, 139); /* oklch */ color: oklch(32.7% 0.174 270.8);
Tailwind
colors: {
custom: {
50: '#6d5bae',
500: '#1b1d8b',
950: '#000000',
},
}SCSS
$custom: #1b1d8b; $custom-light: #6d5bae; $custom-dark: #000000;
JSON
{
"hex": "#1b1d8b",
"rgb": {
"r": 27,
"g": 29,
"b": 139
},
"hsl": {
"h": 238.929,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.32657,
"c": 0.17379,
"h": 270.8
},
"luminance": 0.02976
}Semantic roles & 50–950 ramp
primary
#1B1D8B
secondary
#BCBA45
accent
#E73DEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F