#1B0FB2#1B0FB2
#1B0FB2 is a dark, highly saturated blue. Relative luminance 0.038; OKLCH L 36.2% C 0.228 H 268.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0FB2 |
|---|---|
| RGB | rgb(27, 15, 178) |
| HSL | hsl(244, 84%, 38%) |
| HSV | hsv(244, 92%, 70%) |
| CMYK | cmyk(84.8%, 91.6%, 0%, 30.2%) |
| CIE-LAB | lab(22.96, 57.03, -78.86) |
| CIE-LCH | lch(22.96, 97.33, 305.87°) |
| OKLab | oklab(36.15% -0.0042 -0.228) |
| OKLCH | oklch(36.15% 0.228 268.9) |
| XYZ | xyz(8.6560, 3.7880, 42.3858) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ultramarine
#2000B1
ΔE00 1.39
Royal Blue (survey)
#0504AA
ΔE00 2.00
Cobalt Blue
#030AA7
ΔE00 2.05
Indigo Blue
#3A18B1
ΔE00 2.72
Mediumblue
#0000CD
ΔE00 3.12
True Blue
#010FCC
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0FB2 #A6B20F
analogous
#0F55B2 #1B0FB2 #6C0FB2
triadic
#1B0FB2 #B21B0F #0FB21B
tetradic
#1B0FB2 #B20F55 #A6B20F #0FB26C
square
#1B0FB2 #B20F55 #A6B20F #0FB26C
split-complementary
#1B0FB2 #B26C0F #55B20F
monochromatic
#0A0541 #120A7A #1B0FB2 #2414EA #584CF0
Accessibility & contrast
On white
11.95
#1B0FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1B0FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0FB2
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0FB2 | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FB6
Deuteranopia (green-blind)
#002EB0
Tritanopia (blue-blind)
#004A68
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1b0fb2; /* rgb */ color: rgb(27, 15, 178); /* oklch */ color: oklch(36.2% 0.228 268.9);
Tailwind
colors: {
custom: {
50: '#7958cb',
500: '#1b0fb2',
950: '#000000',
},
}SCSS
$custom: #1b0fb2; $custom-light: #7958cb; $custom-dark: #000000;
JSON
{
"hex": "#1b0fb2",
"rgb": {
"r": 27,
"g": 15,
"b": 178
},
"hsl": {
"h": 244.417,
"s": 84.456,
"l": 37.843
},
"oklch": {
"l": 0.36154,
"c": 0.22804,
"h": 268.9
},
"luminance": 0.03789
}Semantic roles & 50–950 ramp
primary
#1B0FB2
secondary
#C7D14C
accent
#FB2DEC
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982