#1B2972#1B2972
#1B2972 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.126 H 269.5°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2972 |
|---|---|
| RGB | rgb(27, 41, 114) |
| HSL | hsl(230, 62%, 28%) |
| HSV | hsv(230, 76%, 45%) |
| CMYK | cmyk(76.3%, 64%, 0%, 55.3%) |
| CIE-LAB | lab(20.18, 21.97, -43.77) |
| CIE-LCH | lch(20.18, 48.97, 296.65°) |
| OKLab | oklab(32.04% -0.0012 -0.1264) |
| OKLCH | oklch(32.04% 0.126 269.5) |
| XYZ | xyz(4.2812, 3.0333, 16.2762) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.96
Marine
#042E60
ΔE00 5.82
Royal
#0C1793
ΔE00 7.74
Marine Blue
#01386A
ΔE00 7.98
Navy Blue
#1B2A4A
ΔE00 8.14
Darkslateblue
#483D8B
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2972 #72641B
analogous
#1B5472 #1B2972 #391B72
triadic
#1B2972 #721B29 #29721B
tetradic
#1B2972 #721B54 #72641B #1B7239
square
#1B2972 #721B54 #72641B #1B7239
split-complementary
#1B2972 #72391B #54721B
monochromatic
#060919 #0F1741 #1B2972 #273BA3 #3850D0
Accessibility & contrast
On white
13.07
#1B2972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1B2972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2972
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2972 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2972; /* rgb */ color: rgb(27, 41, 114); /* oklch */ color: oklch(32.0% 0.126 269.5);
Tailwind
colors: {
custom: {
50: '#65629b',
500: '#1b2972',
950: '#000000',
},
}SCSS
$custom: #1b2972; $custom-light: #65629b; $custom-dark: #000000;
JSON
{
"hex": "#1b2972",
"rgb": {
"r": 27,
"g": 41,
"b": 114
},
"hsl": {
"h": 230.345,
"s": 61.702,
"l": 27.647
},
"oklch": {
"l": 0.32042,
"c": 0.12641,
"h": 269.5
},
"luminance": 0.03034
}Semantic roles & 50–950 ramp
primary
#1B2972
secondary
#A79642
accent
#CB43E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E