#1F199E#1F199E
#1F199E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.199 H 271.1°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1F199E |
|---|---|
| RGB | rgb(31, 25, 158) |
| HSL | hsl(243, 73%, 36%) |
| HSV | hsv(243, 84%, 62%) |
| CMYK | cmyk(80.4%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(21.78, 47.56, -68.71) |
| CIE-LCH | lch(21.78, 83.56, 304.69°) |
| OKLab | oklab(34.67% 0.0039 -0.1988) |
| OKLCH | oklch(34.67% 0.199 271.1) |
| XYZ | xyz(7.0822, 3.4544, 32.6346) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.06
Cobalt Blue
#030AA7
ΔE00 2.43
Royal Blue (survey)
#0504AA
ΔE00 2.96
Ultramarine
#2000B1
ΔE00 3.50
Indigo Blue
#3A18B1
ΔE00 3.80
Darkblue
#00008B
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F199E #989E19
analogous
#19559E #1F199E #61199E
triadic
#1F199E #9E1F19 #199E1F
tetradic
#1F199E #9E1955 #989E19 #199E61
square
#1F199E #9E1955 #989E19 #199E61
split-complementary
#1F199E #9E6119 #559E19
monochromatic
#0A0834 #151169 #1F199E #2921D3 #554EE3
Accessibility & contrast
On white
12.42
#1F199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1F199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F199E
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F199E | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f199e; /* rgb */ color: rgb(31, 25, 158); /* oklch */ color: oklch(34.7% 0.199 271.1);
Tailwind
colors: {
custom: {
50: '#745abc',
500: '#1f199e',
950: '#000000',
},
}SCSS
$custom: #1f199e; $custom-light: #745abc; $custom-dark: #000000;
JSON
{
"hex": "#1f199e",
"rgb": {
"r": 31,
"g": 25,
"b": 158
},
"hsl": {
"h": 242.707,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.34665,
"c": 0.19887,
"h": 271.1
},
"luminance": 0.03455
}Semantic roles & 50–950 ramp
primary
#1F199E
secondary
#C0C54E
accent
#EF38E7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981