#1B198E#1B198E
#1B198E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.181 H 270.9°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1B198E |
|---|---|
| RGB | rgb(27, 25, 142) |
| HSL | hsl(241, 70%, 33%) |
| HSV | hsv(241, 82%, 56%) |
| CMYK | cmyk(81%, 82.4%, 0%, 44.3%) |
| CIE-LAB | lab(19.56, 42.22, -62.52) |
| CIE-LCH | lch(19.56, 75.44, 304.03°) |
| OKLab | oklab(32.49% 0.0029 -0.181) |
| OKLCH | oklch(32.49% 0.181 270.9) |
| XYZ | xyz(5.6805, 2.8806, 25.8426) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.06
Cobalt Blue
#030AA7
ΔE00 3.87
Darkblue
#00008B
ΔE00 4.06
Royal Blue (survey)
#0504AA
ΔE00 4.44
Midnight Blue
#191970
ΔE00 4.68
Navy
#000080
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B198E #8C8E19
analogous
#19518E #1B198E #56198E
triadic
#1B198E #8E1B19 #198E1B
tetradic
#1B198E #8E1951 #8C8E19 #198E56
square
#1B198E #8E1951 #8C8E19 #198E56
split-complementary
#1B198E #8E5619 #518E19
monochromatic
#070726 #11105A #1B198E #2522C2 #4643DE
Accessibility & contrast
On white
13.32
#1B198E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1B198E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B198E
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B198E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B198E | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b198e; /* rgb */ color: rgb(27, 25, 142); /* oklch */ color: oklch(32.5% 0.181 270.9);
Tailwind
colors: {
custom: {
50: '#6f59b0',
500: '#1b198e',
950: '#000000',
},
}SCSS
$custom: #1b198e; $custom-light: #6f59b0; $custom-dark: #000000;
JSON
{
"hex": "#1b198e",
"rgb": {
"r": 27,
"g": 25,
"b": 142
},
"hsl": {
"h": 241.026,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.32492,
"c": 0.181,
"h": 270.9
},
"luminance": 0.02881
}Semantic roles & 50–950 ramp
primary
#1B198E
secondary
#BDBF44
accent
#ED3BEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980