#1B1883#1B1883
#1B1883 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.168 H 272.0°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1883 |
|---|---|
| RGB | rgb(27, 24, 131) |
| HSL | hsl(242, 69%, 30%) |
| HSV | hsv(242, 82%, 51%) |
| CMYK | cmyk(79.4%, 81.7%, 0%, 48.6%) |
| CIE-LAB | lab(18.03, 39.09, -58.15) |
| CIE-LCH | lch(18.03, 70.07, 303.91°) |
| OKLab | oklab(31.03% 0.0058 -0.1683) |
| OKLCH | oklch(31.03% 0.168 272) |
| XYZ | xyz(4.8740, 2.5244, 21.6987) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.38
Midnight Blue
#191970
ΔE00 3.12
Darkblue
#00008B
ΔE00 4.09
Navy
#000080
ΔE00 4.25
Dark Royal Blue
#02066F
ΔE00 4.59
Deep Blue
#040273
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1883 #808318
analogous
#184B83 #1B1883 #501883
triadic
#1B1883 #831B18 #18831B
tetradic
#1B1883 #83184B #808318 #188350
square
#1B1883 #83184B #808318 #188350
split-complementary
#1B1883 #835018 #4B8318
monochromatic
#06051C #100F4F #1B1883 #2621B7 #3F3ADB
Accessibility & contrast
On white
13.95
#1B1883 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1B1883 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1883
13.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1883 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1883 | 1.00 | 13.95 | 1.51 | 13.95 |
| #FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002781
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1b1883; /* rgb */ color: rgb(27, 24, 131); /* oklch */ color: oklch(31.0% 0.168 272.0);
Tailwind
colors: {
custom: {
50: '#6c57a8',
500: '#1b1883',
950: '#000000',
},
}SCSS
$custom: #1b1883; $custom-light: #6c57a8; $custom-dark: #000000;
JSON
{
"hex": "#1b1883",
"rgb": {
"r": 27,
"g": 24,
"b": 131
},
"hsl": {
"h": 241.682,
"s": 69.032,
"l": 30.392
},
"oklch": {
"l": 0.31034,
"c": 0.16841,
"h": 272
},
"luminance": 0.02525
}Semantic roles & 50–950 ramp
primary
#1B1883
secondary
#B4B740
accent
#EC3CE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F