#1B1F89#1B1F89
#1B1F89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.169 H 270.7°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1F89 |
|---|---|
| RGB | rgb(27, 31, 137) |
| HSL | hsl(238, 67%, 32%) |
| HSV | hsv(238, 80%, 54%) |
| CMYK | cmyk(80.3%, 77.4%, 0%, 46.3%) |
| CIE-LAB | lab(20.12, 37.20, -58.47) |
| CIE-LCH | lch(20.12, 69.30, 302.46°) |
| OKLab | oklab(32.71% 0.002 -0.1693) |
| OKLCH | oklch(32.71% 0.169 270.7) |
| XYZ | xyz(5.4558, 3.0185, 23.9572) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.38
Midnight Blue
#191970
ΔE00 3.97
Cobalt Blue
#030AA7
ΔE00 5.32
Darkblue
#00008B
ΔE00 5.46
Navy
#000080
ΔE00 5.88
Royal Blue (survey)
#0504AA
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1F89 #89851B
analogous
#1B5689 #1B1F89 #4E1B89
triadic
#1B1F89 #891B1F #1F891B
tetradic
#1B1F89 #891B56 #89851B #1B894E
square
#1B1F89 #891B56 #89851B #1B894E
split-complementary
#1B1F89 #894E1B #56891B
monochromatic
#070823 #111356 #1B1F89 #252BBC #444ADA
Accessibility & contrast
On white
13.09
#1B1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1B1F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1F89
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1F89 | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b1f89; /* rgb */ color: rgb(27, 31, 137); /* oklch */ color: oklch(32.7% 0.169 270.7);
Tailwind
colors: {
custom: {
50: '#6d5cad',
500: '#1b1f89',
950: '#000000',
},
}SCSS
$custom: #1b1f89; $custom-light: #6d5cad; $custom-dark: #000000;
JSON
{
"hex": "#1b1f89",
"rgb": {
"r": 27,
"g": 31,
"b": 137
},
"hsl": {
"h": 237.818,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.32711,
"c": 0.16933,
"h": 270.7
},
"luminance": 0.03019
}Semantic roles & 50–950 ramp
primary
#1B1F89
secondary
#BCB744
accent
#E43EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F