#1B2B80#1B2B80
#1B2B80 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.144 H 268.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B80 |
|---|---|
| RGB | rgb(27, 43, 128) |
| HSL | hsl(230, 65%, 30%) |
| HSV | hsv(230, 79%, 50%) |
| CMYK | cmyk(78.9%, 66.4%, 0%, 49.8%) |
| CIE-LAB | lab(22.01, 26.10, -49.69) |
| CIE-LCH | lch(22.01, 56.13, 297.71°) |
| OKLab | oklab(33.8% -0.003 -0.1437) |
| OKLCH | oklch(33.8% 0.144 268.8) |
| XYZ | xyz(5.2108, 3.5187, 20.8224) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.36
Royal
#0C1793
ΔE00 6.36
Sapphire (survey)
#2138AB
ΔE00 6.87
Marine
#042E60
ΔE00 7.08
Darkslateblue
#483D8B
ΔE00 7.64
Blueberry
#464196
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B80 #80701B
analogous
#1B5D80 #1B2B80 #3D1B80
triadic
#1B2B80 #801B2B #2B801B
tetradic
#1B2B80 #801B5D #80701B #1B803D
square
#1B2B80 #801B5D #80701B #1B803D
split-complementary
#1B2B80 #803D1B #5D801B
monochromatic
#06091B #101A4D #1B2B80 #263CB3 #3F57D6
Accessibility & contrast
On white
12.33
#1B2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#1B2B80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B80
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B80 | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1b2b80; /* rgb */ color: rgb(27, 43, 128); /* oklch */ color: oklch(33.8% 0.144 268.8);
Tailwind
colors: {
custom: {
50: '#6964a6',
500: '#1b2b80',
950: '#000000',
},
}SCSS
$custom: #1b2b80; $custom-light: #6964a6; $custom-dark: #000000;
JSON
{
"hex": "#1b2b80",
"rgb": {
"r": 27,
"g": 43,
"b": 128
},
"hsl": {
"h": 230.495,
"s": 65.161,
"l": 30.392
},
"oklch": {
"l": 0.33796,
"c": 0.14376,
"h": 268.8
},
"luminance": 0.03519
}Semantic roles & 50–950 ramp
primary
#1B2B80
secondary
#B4A243
accent
#CD40E8
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F