#1C197F#1C197F
#1C197F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.162 H 272.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1C197F |
|---|---|
| RGB | rgb(28, 25, 127) |
| HSL | hsl(242, 67%, 30%) |
| HSV | hsv(242, 80%, 50%) |
| CMYK | cmyk(78%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(17.80, 37.26, -55.99) |
| CIE-LCH | lch(17.80, 67.25, 303.64°) |
| OKLab | oklab(30.75% 0.0076 -0.162) |
| OKLCH | oklch(30.75% 0.162 272.7) |
| XYZ | xyz(4.6560, 2.4740, 20.3067) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.47
Royal
#0C1793
ΔE00 3.01
Dark Royal Blue
#02066F
ΔE00 4.47
Navy
#000080
ΔE00 4.53
Darkblue
#00008B
ΔE00 4.56
Deep Blue
#040273
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C197F #7C7F19
analogous
#19497F #1C197F #4F197F
triadic
#1C197F #7F1C19 #197F1C
tetradic
#1C197F #7F1949 #7C7F19 #197F4F
square
#1C197F #7F1949 #7C7F19 #197F4F
split-complementary
#1C197F #7F4F19 #497F19
monochromatic
#06051A #110F4C #1C197F #2723B2 #3F3AD8
Accessibility & contrast
On white
14.05
#1C197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1C197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C197F
14.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C197F | 1.00 | 14.05 | 1.49 | 14.05 |
| #FFFFFF | 14.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1c197f; /* rgb */ color: rgb(28, 25, 127); /* oklch */ color: oklch(30.8% 0.162 272.7);
Tailwind
colors: {
custom: {
50: '#6b58a5',
500: '#1c197f',
950: '#000000',
},
}SCSS
$custom: #1c197f; $custom-light: #6b58a5; $custom-dark: #000000;
JSON
{
"hex": "#1c197f",
"rgb": {
"r": 28,
"g": 25,
"b": 127
},
"hsl": {
"h": 241.765,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.3075,
"c": 0.16222,
"h": 272.7
},
"luminance": 0.02474
}Semantic roles & 50–950 ramp
primary
#1C197F
secondary
#B0B341
accent
#EA3EE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F