#1B2E89#1B2E89
#1B2E89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.152 H 268.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E89 |
|---|---|
| RGB | rgb(27, 46, 137) |
| HSL | hsl(230, 67%, 32%) |
| HSV | hsv(230, 80%, 54%) |
| CMYK | cmyk(80.3%, 66.4%, 0%, 46.3%) |
| CIE-LAB | lab(23.65, 27.56, -52.66) |
| CIE-LCH | lch(23.65, 59.43, 297.63°) |
| OKLab | oklab(35.26% -0.0053 -0.1524) |
| OKLCH | oklch(35.26% 0.152 268) |
| XYZ | xyz(5.9428, 3.9925, 24.1195) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.39
Royal
#0C1793
ΔE00 6.38
Midnight Blue
#191970
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 7.19
Blueberry
#464196
ΔE00 7.23
Marine
#042E60
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E89 #89761B
analogous
#1B6589 #1B2E89 #3F1B89
triadic
#1B2E89 #891B2E #2E891B
tetradic
#1B2E89 #891B65 #89761B #1B893F
square
#1B2E89 #891B65 #89761B #1B893F
split-complementary
#1B2E89 #893F1B #65891B
monochromatic
#070C23 #111D56 #1B2E89 #253FBC #445EDA
Accessibility & contrast
On white
11.68
#1B2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#1B2E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E89
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E89 | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1b2e89; /* rgb */ color: rgb(27, 46, 137); /* oklch */ color: oklch(35.3% 0.152 268.0);
Tailwind
colors: {
custom: {
50: '#6b66ac',
500: '#1b2e89',
950: '#000000',
},
}SCSS
$custom: #1b2e89; $custom-light: #6b66ac; $custom-dark: #000000;
JSON
{
"hex": "#1b2e89",
"rgb": {
"r": 27,
"g": 46,
"b": 137
},
"hsl": {
"h": 229.636,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.35259,
"c": 0.15248,
"h": 268
},
"luminance": 0.03993
}Semantic roles & 50–950 ramp
primary
#1B2E89
secondary
#BCA744
accent
#CC3EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F