#1B1B83#1B1B83
#1B1B83 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.166 H 271.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1B83 |
|---|---|
| RGB | rgb(27, 27, 131) |
| HSL | hsl(240, 66%, 31%) |
| HSV | hsv(240, 79%, 51%) |
| CMYK | cmyk(79.4%, 79.4%, 0%, 48.6%) |
| CIE-LAB | lab(18.61, 37.42, -57.20) |
| CIE-LCH | lch(18.61, 68.35, 303.20°) |
| OKLab | oklab(31.44% 0.0047 -0.1656) |
| OKLCH | oklch(31.44% 0.166 271.6) |
| XYZ | xyz(4.9393, 2.6550, 21.7205) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.55
Midnight Blue
#191970
ΔE00 3.00
Darkblue
#00008B
ΔE00 4.74
Navy
#000080
ΔE00 4.91
Dark Royal Blue
#02066F
ΔE00 5.09
Deep Blue
#040273
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1B83 #83831B
analogous
#1B4F83 #1B1B83 #4F1B83
triadic
#1B1B83 #831B1B #1B831B
tetradic
#1B1B83 #831B4F #83831B #1B834F
square
#1B1B83 #831B4F #83831B #1B834F
split-complementary
#1B1B83 #834F1B #4F831B
monochromatic
#06061E #111150 #1B1B83 #2525B6 #4141D8
Accessibility & contrast
On white
13.71
#1B1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1B1B83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1B83
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1B83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1B83 | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b1b83; /* rgb */ color: rgb(27, 27, 131); /* oklch */ color: oklch(31.4% 0.166 271.6);
Tailwind
colors: {
custom: {
50: '#6b59a8',
500: '#1b1b83',
950: '#000000',
},
}SCSS
$custom: #1b1b83; $custom-light: #6b59a8; $custom-dark: #000000;
JSON
{
"hex": "#1b1b83",
"rgb": {
"r": 27,
"g": 27,
"b": 131
},
"hsl": {
"h": 240,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.31439,
"c": 0.16565,
"h": 271.6
},
"luminance": 0.02656
}Semantic roles & 50–950 ramp
primary
#1B1B83
secondary
#B6B643
accent
#E93FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F