#1B2B71#1B2B71
#1B2B71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.122 H 268.7°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B71 |
|---|---|
| RGB | rgb(27, 43, 113) |
| HSL | hsl(229, 61%, 27%) |
| HSV | hsv(229, 76%, 44%) |
| CMYK | cmyk(76.1%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(20.64, 20.15, -42.36) |
| CIE-LCH | lch(20.64, 46.91, 295.43°) |
| OKLab | oklab(32.36% -0.0028 -0.1222) |
| OKLCH | oklch(32.36% 0.122 268.7) |
| XYZ | xyz(4.2955, 3.1526, 16.0017) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.17
Midnight Blue
#191970
ΔE00 5.75
Marine Blue
#01386A
ΔE00 7.28
Navy Blue
#1B2A4A
ΔE00 7.71
Darkslateblue
#483D8B
ΔE00 8.41
Royal
#0C1793
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B71 #71611B
analogous
#1B5671 #1B2B71 #361B71
triadic
#1B2B71 #711B2B #2B711B
tetradic
#1B2B71 #711B56 #71611B #1B7136
square
#1B2B71 #711B56 #71611B #1B7136
split-complementary
#1B2B71 #71361B #56711B
monochromatic
#060919 #0F1840 #1B2B71 #273EA2 #3753CF
Accessibility & contrast
On white
12.88
#1B2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1B2B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B71
12.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B71 | 1.00 | 12.88 | 1.63 | 12.88 |
| #FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b2b71; /* rgb */ color: rgb(27, 43, 113); /* oklch */ color: oklch(32.4% 0.122 268.7);
Tailwind
colors: {
custom: {
50: '#65649a',
500: '#1b2b71',
950: '#000000',
},
}SCSS
$custom: #1b2b71; $custom-light: #65649a; $custom-dark: #000000;
JSON
{
"hex": "#1b2b71",
"rgb": {
"r": 27,
"g": 43,
"b": 113
},
"hsl": {
"h": 228.837,
"s": 61.429,
"l": 27.451
},
"oklch": {
"l": 0.32362,
"c": 0.12228,
"h": 268.7
},
"luminance": 0.03153
}Semantic roles & 50–950 ramp
primary
#1B2B71
secondary
#A69342
accent
#C743E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E