#1B2873#1B2873
#1B2873 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.129 H 269.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2873 |
|---|---|
| RGB | rgb(27, 40, 115) |
| HSL | hsl(231, 62%, 28%) |
| HSV | hsv(231, 77%, 45%) |
| CMYK | cmyk(76.5%, 65.2%, 0%, 54.9%) |
| CIE-LAB | lab(20.00, 23.07, -44.71) |
| CIE-LCH | lch(20.00, 50.31, 297.29°) |
| OKLab | oklab(31.94% -0.0005 -0.1292) |
| OKLCH | oklch(31.94% 0.129 269.8) |
| XYZ | xyz(4.3042, 2.9879, 16.5662) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.55
Marine
#042E60
ΔE00 6.20
Royal
#0C1793
ΔE00 7.33
Marine Blue
#01386A
ΔE00 8.36
Navy Blue
#1B2A4A
ΔE00 8.45
Darkslateblue
#483D8B
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2873 #73661B
analogous
#1B5473 #1B2873 #3A1B73
triadic
#1B2873 #731B28 #28731B
tetradic
#1B2873 #731B54 #73661B #1B733A
square
#1B2873 #731B54 #73661B #1B733A
split-complementary
#1B2873 #733A1B #54731B
monochromatic
#060919 #0F1741 #1B2873 #2739A5 #384FD0
Accessibility & contrast
On white
13.14
#1B2873 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1B2873 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2873
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2873 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2873 | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b2873; /* rgb */ color: rgb(27, 40, 115); /* oklch */ color: oklch(31.9% 0.129 269.8);
Tailwind
colors: {
custom: {
50: '#66619c',
500: '#1b2873',
950: '#000000',
},
}SCSS
$custom: #1b2873; $custom-light: #66619c; $custom-dark: #000000;
JSON
{
"hex": "#1b2873",
"rgb": {
"r": 27,
"g": 40,
"b": 115
},
"hsl": {
"h": 231.136,
"s": 61.972,
"l": 27.843
},
"oklch": {
"l": 0.31936,
"c": 0.12917,
"h": 269.8
},
"luminance": 0.02988
}Semantic roles & 50–950 ramp
primary
#1B2873
secondary
#A89942
accent
#CD43E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E