#1B2477#1B2477
#1B2477 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.140 H 270.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2477 |
|---|---|
| RGB | rgb(27, 36, 119) |
| HSL | hsl(234, 63%, 29%) |
| HSV | hsv(234, 77%, 47%) |
| CMYK | cmyk(77.3%, 69.7%, 0%, 53.3%) |
| CIE-LAB | lab(19.33, 27.39, -48.36) |
| CIE-LCH | lch(19.33, 55.58, 299.52°) |
| OKLab | oklab(31.57% 0.002 -0.1399) |
| OKLCH | oklch(31.57% 0.14 270.8) |
| XYZ | xyz(4.4115, 2.8262, 17.7622) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.12
Royal
#0C1793
ΔE00 5.77
Dark Royal Blue
#02066F
ΔE00 7.07
Darkblue (survey)
#030764
ΔE00 7.29
Deep Blue
#040273
ΔE00 7.69
Marine
#042E60
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2477 #776E1B
analogous
#1B5277 #1B2477 #401B77
triadic
#1B2477 #771B24 #24771B
tetradic
#1B2477 #771B52 #776E1B #1B7740
square
#1B2477 #771B52 #776E1B #1B7740
split-complementary
#1B2477 #77401B #52771B
monochromatic
#060819 #101545 #1B2477 #2633A9 #3A49D2
Accessibility & contrast
On white
13.42
#1B2477 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1B2477 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2477
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2477 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2477 | 1.00 | 13.42 | 1.57 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b2477; /* rgb */ color: rgb(27, 36, 119); /* oklch */ color: oklch(31.6% 0.140 270.8);
Tailwind
colors: {
custom: {
50: '#675f9f',
500: '#1b2477',
950: '#000000',
},
}SCSS
$custom: #1b2477; $custom-light: #675f9f; $custom-dark: #000000;
JSON
{
"hex": "#1b2477",
"rgb": {
"r": 27,
"g": 36,
"b": 119
},
"hsl": {
"h": 234.13,
"s": 63.014,
"l": 28.627
},
"oklch": {
"l": 0.3157,
"c": 0.13989,
"h": 270.8
},
"luminance": 0.02827
}Semantic roles & 50–950 ramp
primary
#1B2477
secondary
#ABA142
accent
#D642E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E