#1B216F#1B216F
#1B216F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.132 H 272.1°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1B216F |
|---|---|
| RGB | rgb(27, 33, 111) |
| HSL | hsl(236, 61%, 27%) |
| HSV | hsv(236, 76%, 44%) |
| CMYK | cmyk(75.7%, 70.3%, 0%, 56.5%) |
| CIE-LAB | lab(17.77, 26.35, -45.77) |
| CIE-LCH | lch(17.77, 52.81, 299.93°) |
| OKLab | oklab(30.19% 0.0048 -0.1323) |
| OKLCH | oklch(30.19% 0.132 272.1) |
| XYZ | xyz(3.8641, 2.4680, 15.3086) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.43
Darkblue (survey)
#030764
ΔE00 6.41
Royal
#0C1793
ΔE00 6.48
Dark Royal Blue
#02066F
ΔE00 6.50
Deep Blue
#040273
ΔE00 7.23
Dark Indigo
#1F0954
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B216F #6F691B
analogous
#1B4B6F #1B216F #3F1B6F
triadic
#1B216F #6F1B21 #216F1B
tetradic
#1B216F #6F1B4B #6F691B #1B6F3F
square
#1B216F #6F1B4B #6F691B #1B6F3F
split-complementary
#1B216F #6F3F1B #4B6F1B
monochromatic
#060719 #0F123E #1B216F #2730A0 #3641CE
Accessibility & contrast
On white
14.06
#1B216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1B216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B216F
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B216F | 1.00 | 14.06 | 1.49 | 14.06 |
| #FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1b216f; /* rgb */ color: rgb(27, 33, 111); /* oklch */ color: oklch(30.2% 0.132 272.1);
Tailwind
colors: {
custom: {
50: '#655c99',
500: '#1b216f',
950: '#000000',
},
}SCSS
$custom: #1b216f; $custom-light: #655c99; $custom-dark: #000000;
JSON
{
"hex": "#1b216f",
"rgb": {
"r": 27,
"g": 33,
"b": 111
},
"hsl": {
"h": 235.714,
"s": 60.87,
"l": 27.059
},
"oklch": {
"l": 0.3019,
"c": 0.13241,
"h": 272.1
},
"luminance": 0.02468
}Semantic roles & 50–950 ramp
primary
#1B216F
secondary
#A49D42
accent
#D944E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E