#1B18B3#1B18B3
#1B18B3 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 37.0% C 0.224 H 268.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1B18B3 |
|---|---|
| RGB | rgb(27, 24, 179) |
| HSL | hsl(241, 76%, 40%) |
| HSV | hsv(241, 87%, 70%) |
| CMYK | cmyk(84.9%, 86.6%, 0%, 29.8%) |
| CIE-LAB | lab(24.13, 54.19, -77.51) |
| CIE-LCH | lch(24.13, 94.57, 304.96°) |
| OKLab | oklab(36.99% -0.0051 -0.2243) |
| OKLCH | oklch(36.99% 0.224 268.7) |
| XYZ | xyz(8.9125, 4.1399, 42.9684) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.45
Ultramarine
#2000B1
ΔE00 2.60
Cobalt Blue
#030AA7
ΔE00 2.87
True Blue
#010FCC
ΔE00 2.93
Royal Blue (survey)
#0504AA
ΔE00 3.02
Mediumblue
#0000CD
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B18B3 #B0B318
analogous
#1863B3 #1B18B3 #6818B3
triadic
#1B18B3 #B31B18 #18B31B
tetradic
#1B18B3 #B31863 #B0B318 #18B368
square
#1B18B3 #B31863 #B0B318 #18B368
split-complementary
#1B18B3 #B36818 #63B318
monochromatic
#0B0A47 #13117D #1B18B3 #2A26E2 #5F5CE9
Accessibility & contrast
On white
11.49
#1B18B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1B18B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B18B3
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B18B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B18B3 | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041B7
Deuteranopia (green-blind)
#0031B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1b18b3; /* rgb */ color: rgb(27, 24, 179); /* oklch */ color: oklch(37.0% 0.224 268.7);
Tailwind
colors: {
custom: {
50: '#795ccb',
500: '#1b18b3',
950: '#000000',
},
}SCSS
$custom: #1b18b3; $custom-light: #795ccb; $custom-dark: #000000;
JSON
{
"hex": "#1b18b3",
"rgb": {
"r": 27,
"g": 24,
"b": 179
},
"hsl": {
"h": 241.161,
"s": 76.355,
"l": 39.804
},
"oklch": {
"l": 0.36989,
"c": 0.22436,
"h": 268.7
},
"luminance": 0.04141
}Semantic roles & 50–950 ramp
primary
#1B18B3
secondary
#CBCD5A
accent
#F335EF
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982