#1B2088#1B2088
#1B2088 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.167 H 270.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2088 |
|---|---|
| RGB | rgb(27, 32, 136) |
| HSL | hsl(237, 67%, 32%) |
| HSV | hsv(237, 80%, 53%) |
| CMYK | cmyk(80.1%, 76.5%, 0%, 46.7%) |
| CIE-LAB | lab(20.22, 36.24, -57.68) |
| CIE-LCH | lch(20.22, 68.12, 302.14°) |
| OKLab | oklab(32.75% 0.0018 -0.167) |
| OKLCH | oklch(32.75% 0.167 270.6) |
| XYZ | xyz(5.4109, 3.0430, 23.5900) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.68
Midnight Blue
#191970
ΔE00 3.89
Cobalt Blue
#030AA7
ΔE00 5.62
Darkblue
#00008B
ΔE00 5.74
Navy
#000080
ΔE00 6.12
Royal Blue (survey)
#0504AA
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2088 #88831B
analogous
#1B5788 #1B2088 #4D1B88
triadic
#1B2088 #881B20 #20881B
tetradic
#1B2088 #881B57 #88831B #1B884D
square
#1B2088 #881B57 #88831B #1B884D
split-complementary
#1B2088 #884D1B #57881B
monochromatic
#070822 #111455 #1B2088 #252CBB #444ADA
Accessibility & contrast
On white
13.05
#1B2088 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1B2088 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2088
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2088 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2088 | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002B86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2088; /* rgb */ color: rgb(27, 32, 136); /* oklch */ color: oklch(32.7% 0.167 270.6);
Tailwind
colors: {
custom: {
50: '#6c5dac',
500: '#1b2088',
950: '#000000',
},
}SCSS
$custom: #1b2088; $custom-light: #6c5dac; $custom-dark: #000000;
JSON
{
"hex": "#1b2088",
"rgb": {
"r": 27,
"g": 32,
"b": 136
},
"hsl": {
"h": 237.248,
"s": 66.871,
"l": 31.961
},
"oklch": {
"l": 0.32747,
"c": 0.16705,
"h": 270.6
},
"luminance": 0.03044
}Semantic roles & 50–950 ramp
primary
#1B2088
secondary
#BBB644
accent
#E23EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F