#1B2F71#1B2F71
#1B2F71 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.117 H 267.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F71 |
|---|---|
| RGB | rgb(27, 47, 113) |
| HSL | hsl(226, 61%, 27%) |
| HSV | hsv(226, 76%, 44%) |
| CMYK | cmyk(76.1%, 58.4%, 0%, 55.7%) |
| CIE-LAB | lab(21.79, 17.29, -40.50) |
| CIE-LCH | lch(21.79, 44.03, 293.12°) |
| OKLab | oklab(33.22% -0.0061 -0.1167) |
| OKLCH | oklch(33.22% 0.117 267) |
| XYZ | xyz(4.4481, 3.4578, 16.0526) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.24
Marine Blue
#01386A
ΔE00 5.98
Midnight Blue
#191970
ΔE00 7.23
Navy Blue
#1B2A4A
ΔE00 7.31
Darkish Blue
#014182
ΔE00 7.46
Twilight Blue
#0A437A
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F71 #715D1B
analogous
#1B5A71 #1B2F71 #321B71
triadic
#1B2F71 #711B2F #2F711B
tetradic
#1B2F71 #711B5A #715D1B #1B7132
square
#1B2F71 #711B5A #715D1B #1B7132
split-complementary
#1B2F71 #71321B #5A711B
monochromatic
#060A19 #0F1A40 #1B2F71 #2744A2 #375BCF
Accessibility & contrast
On white
12.41
#1B2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1B2F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F71
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F71 | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1b2f71; /* rgb */ color: rgb(27, 47, 113); /* oklch */ color: oklch(33.2% 0.117 267.0);
Tailwind
colors: {
custom: {
50: '#65679a',
500: '#1b2f71',
950: '#000000',
},
}SCSS
$custom: #1b2f71; $custom-light: #65679a; $custom-dark: #000000;
JSON
{
"hex": "#1b2f71",
"rgb": {
"r": 27,
"g": 47,
"b": 113
},
"hsl": {
"h": 226.047,
"s": 61.429,
"l": 27.451
},
"oklch": {
"l": 0.3322,
"c": 0.11686,
"h": 267
},
"luminance": 0.03458
}Semantic roles & 50–950 ramp
primary
#1B2F71
secondary
#A68F42
accent
#BF43E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E