#1C198B#1C198B
#1C198B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.177 H 271.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1C198B |
|---|---|
| RGB | rgb(28, 25, 139) |
| HSL | hsl(242, 70%, 32%) |
| HSV | hsv(242, 82%, 55%) |
| CMYK | cmyk(79.9%, 82%, 0%, 45.5%) |
| CIE-LAB | lab(19.25, 41.29, -61.16) |
| CIE-LCH | lch(19.25, 73.79, 304.02°) |
| OKLab | oklab(32.18% 0.0048 -0.177) |
| OKLCH | oklch(32.18% 0.177 271.6) |
| XYZ | xyz(5.4851, 2.8056, 24.6735) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.40
Darkblue
#00008B
ΔE00 4.07
Cobalt Blue
#030AA7
ΔE00 4.25
Midnight Blue
#191970
ΔE00 4.26
Navy
#000080
ΔE00 4.65
Royal Blue (survey)
#0504AA
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C198B #888B19
analogous
#194F8B #1C198B #55198B
triadic
#1C198B #8B1C19 #198B1C
tetradic
#1C198B #8B194F #888B19 #198B55
square
#1C198B #8B194F #888B19 #198B55
split-complementary
#1C198B #8B5519 #4F8B19
monochromatic
#070623 #121057 #1C198B #2622BF #4641DD
Accessibility & contrast
On white
13.45
#1C198B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1C198B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C198B
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C198B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C198B | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 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: #1c198b; /* rgb */ color: rgb(28, 25, 139); /* oklch */ color: oklch(32.2% 0.177 271.6);
Tailwind
colors: {
custom: {
50: '#6e59ae',
500: '#1c198b',
950: '#000000',
},
}SCSS
$custom: #1c198b; $custom-light: #6e59ae; $custom-dark: #000000;
JSON
{
"hex": "#1c198b",
"rgb": {
"r": 28,
"g": 25,
"b": 139
},
"hsl": {
"h": 241.579,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.32184,
"c": 0.1771,
"h": 271.6
},
"luminance": 0.02806
}Semantic roles & 50–950 ramp
primary
#1C198B
secondary
#BABE42
accent
#EC3BE8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F