#1B1671#1B1671
#1B1671 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.147 H 274.2°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1671 |
|---|---|
| RGB | rgb(27, 22, 113) |
| HSL | hsl(243, 67%, 26%) |
| HSV | hsv(243, 81%, 44%) |
| CMYK | cmyk(76.1%, 80.5%, 0%, 55.7%) |
| CIE-LAB | lab(15.48, 34.05, -50.84) |
| CIE-LCH | lch(15.48, 61.19, 303.81°) |
| OKLab | oklab(28.62% 0.0108 -0.1471) |
| OKLCH | oklch(28.62% 0.147 274.2) |
| XYZ | xyz(3.7186, 1.9987, 15.8094) |
| Luminance | 0.0200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.94
Dark Royal Blue
#02066F
ΔE00 3.45
Darkblue (survey)
#030764
ΔE00 3.77
Deep Blue
#040273
ΔE00 4.06
Navy
#000080
ΔE00 4.78
Royal
#0C1793
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1671 #6C7116
analogous
#163F71 #1B1671 #491671
triadic
#1B1671 #711B16 #16711B
tetradic
#1B1671 #71163F #6C7116 #167149
square
#1B1671 #71163F #6C7116 #167149
split-complementary
#1B1671 #714916 #3F7116
monochromatic
#06051A #0F0C3E #1B1671 #2720A4 #352CD6
Accessibility & contrast
On white
15.00
#1B1671 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#1B1671 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1671
15.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1671 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1671 | 1.00 | 15.00 | 1.40 | 15.00 |
| #FFFFFF | 15.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1b1671; /* rgb */ color: rgb(27, 22, 113); /* oklch */ color: oklch(28.6% 0.147 274.2);
Tailwind
colors: {
custom: {
50: '#67559b',
500: '#1b1671',
950: '#000000',
},
}SCSS
$custom: #1b1671; $custom-light: #67559b; $custom-dark: #000000;
JSON
{
"hex": "#1b1671",
"rgb": {
"r": 27,
"g": 22,
"b": 113
},
"hsl": {
"h": 243.297,
"s": 67.407,
"l": 26.471
},
"oklch": {
"l": 0.28616,
"c": 0.14747,
"h": 274.2
},
"luminance": 0.01999
}Semantic roles & 50–950 ramp
primary
#1B1671
secondary
#A1A73C
accent
#EA3EE1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E