#1B2B70#1B2B70
#1B2B70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.121 H 268.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B70 |
|---|---|
| RGB | rgb(27, 43, 112) |
| HSL | hsl(229, 61%, 27%) |
| HSV | hsv(229, 76%, 44%) |
| CMYK | cmyk(75.9%, 61.6%, 0%, 56.1%) |
| CIE-LAB | lab(20.56, 19.74, -41.86) |
| CIE-LCH | lch(20.56, 46.28, 295.25°) |
| OKLab | oklab(32.27% -0.0028 -0.1208) |
| OKLCH | oklch(32.27% 0.121 268.7) |
| XYZ | xyz(4.2395, 3.1302, 15.7068) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.05
Midnight Blue
#191970
ΔE00 5.83
Marine Blue
#01386A
ΔE00 7.22
Navy Blue
#1B2A4A
ΔE00 7.55
Darkslateblue
#483D8B
ΔE00 8.48
Royal
#0C1793
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B70 #70601B
analogous
#1B5670 #1B2B70 #361B70
triadic
#1B2B70 #701B2B #2B701B
tetradic
#1B2B70 #701B56 #70601B #1B7036
square
#1B2B70 #701B56 #70601B #1B7036
split-complementary
#1B2B70 #70361B #56701B
monochromatic
#060919 #0F183F #1B2B70 #273EA1 #3753CF
Accessibility & contrast
On white
12.91
#1B2B70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1B2B70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B70
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B70 | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b2b70; /* rgb */ color: rgb(27, 43, 112); /* oklch */ color: oklch(32.3% 0.121 268.7);
Tailwind
colors: {
custom: {
50: '#65649a',
500: '#1b2b70',
950: '#000000',
},
}SCSS
$custom: #1b2b70; $custom-light: #65649a; $custom-dark: #000000;
JSON
{
"hex": "#1b2b70",
"rgb": {
"r": 27,
"g": 43,
"b": 112
},
"hsl": {
"h": 228.706,
"s": 61.151,
"l": 27.255
},
"oklch": {
"l": 0.3227,
"c": 0.1208,
"h": 268.7
},
"luminance": 0.03131
}Semantic roles & 50–950 ramp
primary
#1B2B70
secondary
#A59242
accent
#C644E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E