#1B216E#1B216E
#1B216E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.131 H 272.1°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1B216E |
|---|---|
| RGB | rgb(27, 33, 110) |
| HSL | hsl(236, 61%, 27%) |
| HSV | hsv(236, 75%, 43%) |
| CMYK | cmyk(75.5%, 70%, 0%, 56.9%) |
| CIE-LAB | lab(17.67, 25.97, -45.28) |
| CIE-LCH | lch(17.67, 52.20, 299.83°) |
| OKLab | oklab(30.09% 0.0049 -0.1309) |
| OKLCH | oklch(30.09% 0.131 272.1) |
| XYZ | xyz(3.8094, 2.4461, 15.0202) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.51
Darkblue (survey)
#030764
ΔE00 6.43
Dark Royal Blue
#02066F
ΔE00 6.57
Royal
#0C1793
ΔE00 6.66
Dark Indigo
#1F0954
ΔE00 7.27
Deep Blue
#040273
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B216E #6E681B
analogous
#1B4B6E #1B216E #3F1B6E
triadic
#1B216E #6E1B21 #216E1B
tetradic
#1B216E #6E1B4B #6E681B #1B6E3F
square
#1B216E #6E1B4B #6E681B #1B6E3F
split-complementary
#1B216E #6E3F1B #4B6E1B
monochromatic
#060719 #0F123D #1B216E #27309F #3641CE
Accessibility & contrast
On white
14.10
#1B216E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1B216E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B216E
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B216E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B216E | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1b216e; /* rgb */ color: rgb(27, 33, 110); /* oklch */ color: oklch(30.1% 0.131 272.1);
Tailwind
colors: {
custom: {
50: '#655c98',
500: '#1b216e',
950: '#000000',
},
}SCSS
$custom: #1b216e; $custom-light: #655c98; $custom-dark: #000000;
JSON
{
"hex": "#1b216e",
"rgb": {
"r": 27,
"g": 33,
"b": 110
},
"hsl": {
"h": 235.663,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.30087,
"c": 0.13099,
"h": 272.1
},
"luminance": 0.02447
}Semantic roles & 50–950 ramp
primary
#1B216E
secondary
#A39C42
accent
#D844E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E