#1B2F89#1B2F89
#1B2F89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.151 H 267.8°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F89 |
|---|---|
| RGB | rgb(27, 47, 137) |
| HSL | hsl(229, 67%, 32%) |
| HSV | hsv(229, 80%, 54%) |
| CMYK | cmyk(80.3%, 65.7%, 0%, 46.3%) |
| CIE-LAB | lab(23.91, 26.88, -52.23) |
| CIE-LCH | lch(23.91, 58.74, 297.23°) |
| OKLab | oklab(35.45% -0.0059 -0.1511) |
| OKLCH | oklch(35.45% 0.151 267.8) |
| XYZ | xyz(5.9823, 4.0715, 24.1327) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.30
Royal
#0C1793
ΔE00 6.70
Midnight Blue
#191970
ΔE00 6.81
Blueberry
#464196
ΔE00 7.09
Darkslateblue
#483D8B
ΔE00 7.11
Marine
#042E60
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F89 #89751B
analogous
#1B6689 #1B2F89 #3E1B89
triadic
#1B2F89 #891B2F #2F891B
tetradic
#1B2F89 #891B66 #89751B #1B893E
square
#1B2F89 #891B66 #89751B #1B893E
split-complementary
#1B2F89 #893E1B #66891B
monochromatic
#070C23 #111D56 #1B2F89 #2541BC #445FDA
Accessibility & contrast
On white
11.57
#1B2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#1B2F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F89
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F89 | 1.00 | 11.57 | 1.81 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1b2f89; /* rgb */ color: rgb(27, 47, 137); /* oklch */ color: oklch(35.5% 0.151 267.8);
Tailwind
colors: {
custom: {
50: '#6b67ac',
500: '#1b2f89',
950: '#000000',
},
}SCSS
$custom: #1b2f89; $custom-light: #6b67ac; $custom-dark: #000000;
JSON
{
"hex": "#1b2f89",
"rgb": {
"r": 27,
"g": 47,
"b": 137
},
"hsl": {
"h": 229.091,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.35451,
"c": 0.15124,
"h": 267.8
},
"luminance": 0.04072
}Semantic roles & 50–950 ramp
primary
#1B2F89
secondary
#BCA644
accent
#CB3EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F