#1B198B#1B198B
#1B198B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.177 H 271.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1B198B |
|---|---|
| RGB | rgb(27, 25, 139) |
| HSL | hsl(241, 70%, 32%) |
| HSV | hsv(241, 82%, 55%) |
| CMYK | cmyk(80.6%, 82%, 0%, 45.5%) |
| CIE-LAB | lab(19.19, 41.23, -61.26) |
| CIE-LCH | lch(19.19, 73.84, 303.94°) |
| OKLab | oklab(32.13% 0.0036 -0.1773) |
| OKLCH | oklch(32.13% 0.177 271.2) |
| XYZ | xyz(5.4583, 2.7917, 24.6723) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.36
Darkblue
#00008B
ΔE00 4.06
Midnight Blue
#191970
ΔE00 4.25
Cobalt Blue
#030AA7
ΔE00 4.25
Navy
#000080
ΔE00 4.63
Royal Blue (survey)
#0504AA
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B198B #898B19
analogous
#19508B #1B198B #54198B
triadic
#1B198B #8B1B19 #198B1B
tetradic
#1B198B #8B1950 #898B19 #198B54
square
#1B198B #8B1950 #898B19 #198B54
split-complementary
#1B198B #8B5419 #508B19
monochromatic
#070623 #111057 #1B198B #2522BF #4441DD
Accessibility & contrast
On white
13.48
#1B198B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1B198B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B198B
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B198B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B198B | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b198b; /* rgb */ color: rgb(27, 25, 139); /* oklch */ color: oklch(32.1% 0.177 271.2);
Tailwind
colors: {
custom: {
50: '#6e59ae',
500: '#1b198b',
950: '#000000',
},
}SCSS
$custom: #1b198b; $custom-light: #6e59ae; $custom-dark: #000000;
JSON
{
"hex": "#1b198b",
"rgb": {
"r": 27,
"g": 25,
"b": 139
},
"hsl": {
"h": 241.053,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.32128,
"c": 0.17737,
"h": 271.2
},
"luminance": 0.02792
}Semantic roles & 50–950 ramp
primary
#1B198B
secondary
#BCBE42
accent
#EC3BE9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F