#1B2179#1B2179
#1B2179 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.146 H 271.4°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2179 |
|---|---|
| RGB | rgb(27, 33, 121) |
| HSL | hsl(236, 64%, 29%) |
| HSV | hsv(236, 78%, 47%) |
| CMYK | cmyk(77.7%, 72.7%, 0%, 52.5%) |
| CIE-LAB | lab(18.80, 30.14, -50.51) |
| CIE-LCH | lch(18.80, 58.82, 300.82°) |
| OKLab | oklab(31.25% 0.0036 -0.1462) |
| OKLCH | oklch(31.25% 0.146 271.4) |
| XYZ | xyz(4.4459, 2.7007, 18.3724) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.36
Royal
#0C1793
ΔE00 4.86
Dark Royal Blue
#02066F
ΔE00 6.15
Darkblue (survey)
#030764
ΔE00 6.54
Deep Blue
#040273
ΔE00 6.71
Navy
#000080
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2179 #79731B
analogous
#1B5079 #1B2179 #441B79
triadic
#1B2179 #791B21 #21791B
tetradic
#1B2179 #791B50 #79731B #1B7944
square
#1B2179 #791B50 #79731B #1B7944
split-complementary
#1B2179 #79441B #50791B
monochromatic
#060719 #101347 #1B2179 #262FAB #3B45D3
Accessibility & contrast
On white
13.63
#1B2179 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1B2179 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2179
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2179 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2179 | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b2179; /* rgb */ color: rgb(27, 33, 121); /* oklch */ color: oklch(31.2% 0.146 271.4);
Tailwind
colors: {
custom: {
50: '#685da1',
500: '#1b2179',
950: '#000000',
},
}SCSS
$custom: #1b2179; $custom-light: #685da1; $custom-dark: #000000;
JSON
{
"hex": "#1b2179",
"rgb": {
"r": 27,
"g": 33,
"b": 121
},
"hsl": {
"h": 236.17,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.31248,
"c": 0.14622,
"h": 271.4
},
"luminance": 0.02701
}Semantic roles & 50–950 ramp
primary
#1B2179
secondary
#ADA643
accent
#DC41E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F