#1B2377#1B2377
#1B2377 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.141 H 271.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2377 |
|---|---|
| RGB | rgb(27, 35, 119) |
| HSL | hsl(235, 63%, 29%) |
| HSV | hsv(235, 77%, 47%) |
| CMYK | cmyk(77.3%, 70.6%, 0%, 53.3%) |
| CIE-LAB | lab(19.08, 28.06, -48.77) |
| CIE-LCH | lch(19.08, 56.27, 299.91°) |
| OKLab | oklab(31.39% 0.0027 -0.1411) |
| OKLCH | oklch(31.39% 0.141 271.1) |
| XYZ | xyz(4.3817, 2.7665, 17.7523) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.83
Royal
#0C1793
ΔE00 5.55
Dark Royal Blue
#02066F
ΔE00 6.77
Darkblue (survey)
#030764
ΔE00 7.01
Deep Blue
#040273
ΔE00 7.38
Navy
#000080
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2377 #776F1B
analogous
#1B5177 #1B2377 #411B77
triadic
#1B2377 #771B23 #23771B
tetradic
#1B2377 #771B51 #776F1B #1B7741
square
#1B2377 #771B51 #776F1B #1B7741
split-complementary
#1B2377 #77411B #51771B
monochromatic
#060719 #101445 #1B2377 #2632A9 #3A47D2
Accessibility & contrast
On white
13.52
#1B2377 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1B2377 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2377
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2377 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2377 | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b2377; /* rgb */ color: rgb(27, 35, 119); /* oklch */ color: oklch(31.4% 0.141 271.1);
Tailwind
colors: {
custom: {
50: '#675e9f',
500: '#1b2377',
950: '#000000',
},
}SCSS
$custom: #1b2377; $custom-light: #675e9f; $custom-dark: #000000;
JSON
{
"hex": "#1b2377",
"rgb": {
"r": 27,
"g": 35,
"b": 119
},
"hsl": {
"h": 234.783,
"s": 63.014,
"l": 28.627
},
"oklch": {
"l": 0.31388,
"c": 0.14111,
"h": 271.1
},
"luminance": 0.02767
}Semantic roles & 50–950 ramp
primary
#1B2377
secondary
#ABA242
accent
#D842E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E