#1A198C#1A198C
#1A198C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.179 H 270.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1A198C |
|---|---|
| RGB | rgb(26, 25, 140) |
| HSL | hsl(241, 70%, 32%) |
| HSV | hsv(241, 82%, 55%) |
| CMYK | cmyk(81.4%, 82.1%, 0%, 45.1%) |
| CIE-LAB | lab(19.26, 41.49, -61.77) |
| CIE-LCH | lch(19.26, 74.42, 303.89°) |
| OKLab | oklab(32.2% 0.0022 -0.1788) |
| OKLCH | oklch(32.2% 0.179 270.7) |
| XYZ | xyz(5.5057, 2.8077, 25.0576) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.21
Darkblue
#00008B
ΔE00 4.04
Cobalt Blue
#030AA7
ΔE00 4.12
Midnight Blue
#191970
ΔE00 4.38
Navy
#000080
ΔE00 4.66
Royal Blue (survey)
#0504AA
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A198C #8B8C19
analogous
#19518C #1A198C #54198C
triadic
#1A198C #8C1A19 #198C1A
tetradic
#1A198C #8C1951 #8B8C19 #198C54
square
#1A198C #8C1951 #8B8C19 #198C54
split-complementary
#1A198C #8C5419 #518C19
monochromatic
#070624 #101058 #1A198C #2422C0 #4342DD
Accessibility & contrast
On white
13.45
#1A198C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1A198C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A198C
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A198C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A198C | 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)
#00348F
Deuteranopia (green-blind)
#00298A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1a198c; /* rgb */ color: rgb(26, 25, 140); /* oklch */ color: oklch(32.2% 0.179 270.7);
Tailwind
colors: {
custom: {
50: '#6e59af',
500: '#1a198c',
950: '#000000',
},
}SCSS
$custom: #1a198c; $custom-light: #6e59af; $custom-dark: #000000;
JSON
{
"hex": "#1a198c",
"rgb": {
"r": 26,
"g": 25,
"b": 140
},
"hsl": {
"h": 240.522,
"s": 69.697,
"l": 32.353
},
"oklch": {
"l": 0.32195,
"c": 0.17886,
"h": 270.7
},
"luminance": 0.02808
}Semantic roles & 50–950 ramp
primary
#1A198C
secondary
#BDBE43
accent
#ED3BEB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980