#1B1380#1B1380
#1B1380 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.169 H 272.7°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1380 |
|---|---|
| RGB | rgb(27, 19, 128) |
| HSL | hsl(244, 74%, 29%) |
| HSV | hsv(244, 85%, 50%) |
| CMYK | cmyk(78.9%, 85.2%, 0%, 49.8%) |
| CIE-LAB | lab(16.78, 40.65, -58.32) |
| CIE-LCH | lch(16.78, 71.09, 304.88°) |
| OKLab | oklab(30.06% 0.0081 -0.1687) |
| OKLCH | oklch(30.06% 0.169 272.7) |
| XYZ | xyz(4.5798, 2.2568, 20.6121) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.89
Midnight Blue
#191970
ΔE00 3.17
Navy
#000080
ΔE00 3.28
Darkblue
#00008B
ΔE00 3.35
Dark Royal Blue
#02066F
ΔE00 3.67
Deep Blue
#040273
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1380 #788013
analogous
#134280 #1B1380 #521380
triadic
#1B1380 #801B13 #13801B
tetradic
#1B1380 #801342 #788013 #138052
square
#1B1380 #801342 #788013 #138052
split-complementary
#1B1380 #805213 #428013
monochromatic
#06041B #100B4B #1B1380 #261BB5 #3B2DE0
Accessibility & contrast
On white
14.47
#1B1380 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1B1380 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1380
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1380 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1380 | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b1380; /* rgb */ color: rgb(27, 19, 128); /* oklch */ color: oklch(30.1% 0.169 272.7);
Tailwind
colors: {
custom: {
50: '#6b55a6',
500: '#1b1380',
950: '#000000',
},
}SCSS
$custom: #1b1380; $custom-light: #6b55a6; $custom-dark: #000000;
JSON
{
"hex": "#1b1380",
"rgb": {
"r": 27,
"g": 19,
"b": 128
},
"hsl": {
"h": 244.404,
"s": 74.15,
"l": 28.824
},
"oklch": {
"l": 0.30059,
"c": 0.1689,
"h": 272.7
},
"luminance": 0.02257
}Semantic roles & 50–950 ramp
primary
#1B1380
secondary
#ACB539
accent
#F137E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F