#1B198C#1B198C
#1B198C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.179 H 271.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1B198C |
|---|---|
| RGB | rgb(27, 25, 140) |
| HSL | hsl(241, 70%, 32%) |
| HSV | hsv(241, 82%, 55%) |
| CMYK | cmyk(80.7%, 82.1%, 0%, 45.1%) |
| CIE-LAB | lab(19.31, 41.55, -61.68) |
| CIE-LCH | lch(19.31, 74.37, 303.97°) |
| OKLab | oklab(32.25% 0.0034 -0.1785) |
| OKLCH | oklch(32.25% 0.179 271.1) |
| XYZ | xyz(5.5316, 2.8211, 25.0588) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.25
Darkblue
#00008B
ΔE00 4.05
Cobalt Blue
#030AA7
ΔE00 4.12
Midnight Blue
#191970
ΔE00 4.39
Navy
#000080
ΔE00 4.68
Royal Blue (survey)
#0504AA
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B198C #8A8C19
analogous
#19518C #1B198C #54198C
triadic
#1B198C #8C1B19 #198C1B
tetradic
#1B198C #8C1951 #8A8C19 #198C54
square
#1B198C #8C1951 #8A8C19 #198C54
split-complementary
#1B198C #8C5419 #518C19
monochromatic
#070624 #111058 #1B198C #2522C0 #4542DD
Accessibility & contrast
On white
13.42
#1B198C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1B198C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B198C
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B198C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B198C | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00298A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b198c; /* rgb */ color: rgb(27, 25, 140); /* oklch */ color: oklch(32.2% 0.179 271.1);
Tailwind
colors: {
custom: {
50: '#6e59af',
500: '#1b198c',
950: '#000000',
},
}SCSS
$custom: #1b198c; $custom-light: #6e59af; $custom-dark: #000000;
JSON
{
"hex": "#1b198c",
"rgb": {
"r": 27,
"g": 25,
"b": 140
},
"hsl": {
"h": 241.043,
"s": 69.697,
"l": 32.353
},
"oklch": {
"l": 0.32249,
"c": 0.17858,
"h": 271.1
},
"luminance": 0.02822
}Semantic roles & 50–950 ramp
primary
#1B198C
secondary
#BCBE43
accent
#ED3BE9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980