#1B2378#1B2378
#1B2378 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.142 H 271.0°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2378 |
|---|---|
| RGB | rgb(27, 35, 120) |
| HSL | hsl(235, 63%, 29%) |
| HSV | hsv(235, 78%, 47%) |
| CMYK | cmyk(77.5%, 70.8%, 0%, 52.9%) |
| CIE-LAB | lab(19.19, 28.44, -49.24) |
| CIE-LCH | lch(19.19, 56.87, 300.01°) |
| OKLab | oklab(31.49% 0.0026 -0.1425) |
| OKLCH | oklch(31.49% 0.142 271) |
| XYZ | xyz(4.4420, 2.7907, 18.0702) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.85
Royal
#0C1793
ΔE00 5.40
Dark Royal Blue
#02066F
ΔE00 6.75
Darkblue (survey)
#030764
ΔE00 7.03
Deep Blue
#040273
ΔE00 7.34
Navy
#000080
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2378 #78701B
analogous
#1B5278 #1B2378 #421B78
triadic
#1B2378 #781B23 #23781B
tetradic
#1B2378 #781B52 #78701B #1B7842
square
#1B2378 #781B52 #78701B #1B7842
split-complementary
#1B2378 #78421B #52781B
monochromatic
#060719 #101446 #1B2378 #2632AA #3B48D3
Accessibility & contrast
On white
13.48
#1B2378 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1B2378 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2378
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2378 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2378 | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#002A76
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b2378; /* rgb */ color: rgb(27, 35, 120); /* oklch */ color: oklch(31.5% 0.142 271.0);
Tailwind
colors: {
custom: {
50: '#685ea0',
500: '#1b2378',
950: '#000000',
},
}SCSS
$custom: #1b2378; $custom-light: #685ea0; $custom-dark: #000000;
JSON
{
"hex": "#1b2378",
"rgb": {
"r": 27,
"g": 35,
"b": 120
},
"hsl": {
"h": 234.839,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.31492,
"c": 0.14249,
"h": 271
},
"luminance": 0.02791
}Semantic roles & 50–950 ramp
primary
#1B2378
secondary
#ACA343
accent
#D841E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E