#1B2585#1B2585
#1B2585 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.158 H 270.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2585 |
|---|---|
| RGB | rgb(27, 37, 133) |
| HSL | hsl(234, 66%, 31%) |
| HSV | hsv(234, 80%, 52%) |
| CMYK | cmyk(79.7%, 72.2%, 0%, 47.8%) |
| CIE-LAB | lab(21.01, 32.02, -54.48) |
| CIE-LCH | lch(21.01, 63.19, 300.45°) |
| OKLab | oklab(33.22% 0 -0.1577) |
| OKLCH | oklch(33.22% 0.158 270) |
| XYZ | xyz(5.3458, 3.2490, 22.5311) |
| Luminance | 0.0325 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.15
Midnight Blue
#191970
ΔE00 4.18
Cobalt Blue
#030AA7
ΔE00 6.99
Sapphire (survey)
#2138AB
ΔE00 7.12
Darkblue
#00008B
ΔE00 7.24
Dark Royal Blue
#02066F
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2585 #857B1B
analogous
#1B5A85 #1B2585 #461B85
triadic
#1B2585 #851B25 #25851B
tetradic
#1B2585 #851B5A #857B1B #1B8546
square
#1B2585 #851B5A #857B1B #1B8546
split-complementary
#1B2585 #85461B #5A851B
monochromatic
#06091F #111752 #1B2585 #2533B8 #4250D9
Accessibility & contrast
On white
12.73
#1B2585 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1B2585 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2585
12.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2585 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2585 | 1.00 | 12.73 | 1.65 | 12.73 |
| #FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b2585; /* rgb */ color: rgb(27, 37, 133); /* oklch */ color: oklch(33.2% 0.158 270.0);
Tailwind
colors: {
custom: {
50: '#6b60aa',
500: '#1b2585',
950: '#000000',
},
}SCSS
$custom: #1b2585; $custom-light: #6b60aa; $custom-dark: #000000;
JSON
{
"hex": "#1b2585",
"rgb": {
"r": 27,
"g": 37,
"b": 133
},
"hsl": {
"h": 234.34,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.33222,
"c": 0.15774,
"h": 270
},
"luminance": 0.0325
}Semantic roles & 50–950 ramp
primary
#1B2585
secondary
#B8AD44
accent
#D93FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F