#1B198F#1B198F
#1B198F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.182 H 270.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1B198F |
|---|---|
| RGB | rgb(27, 25, 143) |
| HSL | hsl(241, 70%, 33%) |
| HSV | hsv(241, 83%, 56%) |
| CMYK | cmyk(81.1%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(19.68, 42.54, -62.94) |
| CIE-LCH | lch(19.68, 75.97, 304.06°) |
| OKLab | oklab(32.61% 0.0027 -0.1822) |
| OKLCH | oklch(32.61% 0.182 270.9) |
| XYZ | xyz(5.7559, 2.9108, 26.2398) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.98
Cobalt Blue
#030AA7
ΔE00 3.75
Darkblue
#00008B
ΔE00 4.08
Royal Blue (survey)
#0504AA
ΔE00 4.32
Midnight Blue
#191970
ΔE00 4.82
Navy
#000080
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B198F #8D8F19
analogous
#19528F #1B198F #56198F
triadic
#1B198F #8F1B19 #198F1B
tetradic
#1B198F #8F1952 #8D8F19 #198F56
square
#1B198F #8F1952 #8D8F19 #198F56
split-complementary
#1B198F #8F5619 #528F19
monochromatic
#070727 #11105B #1B198F #2522C3 #4744DE
Accessibility & contrast
On white
13.27
#1B198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1B198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B198F
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B198F | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b198f; /* rgb */ color: rgb(27, 25, 143); /* oklch */ color: oklch(32.6% 0.182 270.9);
Tailwind
colors: {
custom: {
50: '#6f59b1',
500: '#1b198f',
950: '#000000',
},
}SCSS
$custom: #1b198f; $custom-light: #6f59b1; $custom-dark: #000000;
JSON
{
"hex": "#1b198f",
"rgb": {
"r": 27,
"g": 25,
"b": 143
},
"hsl": {
"h": 241.017,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.32614,
"c": 0.18222,
"h": 270.9
},
"luminance": 0.02911
}Semantic roles & 50–950 ramp
primary
#1B198F
secondary
#BDBF44
accent
#ED3BEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980