#1C197A#1C197A
#1C197A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.156 H 273.2°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1C197A |
|---|---|
| RGB | rgb(28, 25, 122) |
| HSL | hsl(242, 66%, 29%) |
| HSV | hsv(242, 80%, 48%) |
| CMYK | cmyk(77%, 79.5%, 0%, 52.2%) |
| CIE-LAB | lab(17.21, 35.54, -53.78) |
| CIE-LCH | lch(17.21, 64.46, 303.46°) |
| OKLab | oklab(30.16% 0.0087 -0.1556) |
| OKLCH | oklch(30.16% 0.156 273.2) |
| XYZ | xyz(4.3382, 2.3468, 18.6329) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.69
Royal
#0C1793
ΔE00 3.77
Dark Royal Blue
#02066F
ΔE00 4.21
Deep Blue
#040273
ΔE00 4.61
Navy
#000080
ΔE00 4.73
Darkblue (survey)
#030764
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C197A #777A19
analogous
#19477A #1C197A #4D197A
triadic
#1C197A #7A1C19 #197A1C
tetradic
#1C197A #7A1947 #777A19 #197A4D
square
#1C197A #7A1947 #777A19 #197A4D
split-complementary
#1C197A #7A4D19 #477A19
monochromatic
#060519 #100F47 #1C197A #2823AD #3C37D6
Accessibility & contrast
On white
14.29
#1C197A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1C197A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C197A
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C197A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C197A | 1.00 | 14.29 | 1.47 | 14.29 |
| #FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002678
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1c197a; /* rgb */ color: rgb(28, 25, 122); /* oklch */ color: oklch(30.2% 0.156 273.2);
Tailwind
colors: {
custom: {
50: '#6a58a2',
500: '#1c197a',
950: '#000000',
},
}SCSS
$custom: #1c197a; $custom-light: #6a58a2; $custom-dark: #000000;
JSON
{
"hex": "#1c197a",
"rgb": {
"r": 28,
"g": 25,
"b": 122
},
"hsl": {
"h": 241.856,
"s": 65.986,
"l": 28.824
},
"oklch": {
"l": 0.30163,
"c": 0.15585,
"h": 273.2
},
"luminance": 0.02347
}Semantic roles & 50–950 ramp
primary
#1C197A
secondary
#ABAF40
accent
#E93FE4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F