#1B2973#1B2973
#1B2973 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.128 H 269.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2973 |
|---|---|
| RGB | rgb(27, 41, 115) |
| HSL | hsl(230, 62%, 28%) |
| HSV | hsv(230, 77%, 45%) |
| CMYK | cmyk(76.5%, 64.3%, 0%, 54.9%) |
| CIE-LAB | lab(20.27, 22.36, -44.26) |
| CIE-LCH | lch(20.27, 49.59, 296.80°) |
| OKLab | oklab(32.14% -0.0012 -0.1278) |
| OKLCH | oklch(32.14% 0.128 269.4) |
| XYZ | xyz(4.3384, 3.0562, 16.5776) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.90
Marine
#042E60
ΔE00 5.93
Royal
#0C1793
ΔE00 7.58
Marine Blue
#01386A
ΔE00 8.04
Navy Blue
#1B2A4A
ΔE00 8.29
Darkslateblue
#483D8B
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2973 #73651B
analogous
#1B5573 #1B2973 #391B73
triadic
#1B2973 #731B29 #29731B
tetradic
#1B2973 #731B55 #73651B #1B7339
square
#1B2973 #731B55 #73651B #1B7339
split-complementary
#1B2973 #73391B #55731B
monochromatic
#060919 #0F1741 #1B2973 #273BA5 #3850D0
Accessibility & contrast
On white
13.03
#1B2973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1B2973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2973
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2973 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2973; /* rgb */ color: rgb(27, 41, 115); /* oklch */ color: oklch(32.1% 0.128 269.4);
Tailwind
colors: {
custom: {
50: '#66629c',
500: '#1b2973',
950: '#000000',
},
}SCSS
$custom: #1b2973; $custom-light: #66629c; $custom-dark: #000000;
JSON
{
"hex": "#1b2973",
"rgb": {
"r": 27,
"g": 41,
"b": 115
},
"hsl": {
"h": 230.455,
"s": 61.972,
"l": 27.843
},
"oklch": {
"l": 0.32137,
"c": 0.12786,
"h": 269.4
},
"luminance": 0.03057
}Semantic roles & 50–950 ramp
primary
#1B2973
secondary
#A89742
accent
#CB43E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E