#1C198F#1C198F
#1C198F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.182 H 271.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1C198F |
|---|---|
| RGB | rgb(28, 25, 143) |
| HSL | hsl(242, 70%, 33%) |
| HSV | hsv(242, 83%, 56%) |
| CMYK | cmyk(80.4%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(19.74, 42.60, -62.84) |
| CIE-LCH | lch(19.74, 75.92, 304.14°) |
| OKLab | oklab(32.67% 0.0039 -0.1819) |
| OKLCH | oklch(32.67% 0.182 271.2) |
| XYZ | xyz(5.7828, 2.9247, 26.2410) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.04
Cobalt Blue
#030AA7
ΔE00 3.75
Darkblue
#00008B
ΔE00 4.09
Royal Blue (survey)
#0504AA
ΔE00 4.32
Midnight Blue
#191970
ΔE00 4.83
Navy
#000080
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C198F #8C8F19
analogous
#19518F #1C198F #57198F
triadic
#1C198F #8F1C19 #198F1C
tetradic
#1C198F #8F1951 #8C8F19 #198F57
square
#1C198F #8F1951 #8C8F19 #198F57
split-complementary
#1C198F #8F5719 #518F19
monochromatic
#080727 #12105B #1C198F #2622C3 #4844DE
Accessibility & contrast
On white
13.25
#1C198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1C198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C198F
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C198F | 1.00 | 13.25 | 1.59 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1c198f; /* rgb */ color: rgb(28, 25, 143); /* oklch */ color: oklch(32.7% 0.182 271.2);
Tailwind
colors: {
custom: {
50: '#6f59b1',
500: '#1c198f',
950: '#000000',
},
}SCSS
$custom: #1c198f; $custom-light: #6f59b1; $custom-dark: #000000;
JSON
{
"hex": "#1c198f",
"rgb": {
"r": 28,
"g": 25,
"b": 143
},
"hsl": {
"h": 241.525,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.32669,
"c": 0.18194,
"h": 271.2
},
"luminance": 0.02925
}Semantic roles & 50–950 ramp
primary
#1C198F
secondary
#BCBF44
accent
#ED3BE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980