#1F19B2#1F19B2
#1F19B2 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.1% C 0.222 H 269.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1F19B2 |
|---|---|
| RGB | rgb(31, 25, 178) |
| HSL | hsl(242, 75%, 40%) |
| HSV | hsv(242, 86%, 70%) |
| CMYK | cmyk(82.6%, 86%, 0%, 30.2%) |
| CIE-LAB | lab(24.32, 53.64, -76.59) |
| CIE-LCH | lch(24.32, 93.50, 305.01°) |
| OKLab | oklab(37.14% -0.0008 -0.2216) |
| OKLCH | oklch(37.14% 0.222 269.8) |
| XYZ | xyz(8.9459, 4.1999, 42.4500) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.26
Ultramarine
#2000B1
ΔE00 2.71
Cobalt Blue
#030AA7
ΔE00 3.00
True Blue
#010FCC
ΔE00 3.07
Royal Blue (survey)
#0504AA
ΔE00 3.16
Mediumblue
#0000CD
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F19B2 #ACB219
analogous
#1960B2 #1F19B2 #6C19B2
triadic
#1F19B2 #B21F19 #19B21F
tetradic
#1F19B2 #B21960 #ACB219 #19B26C
square
#1F19B2 #B21960 #ACB219 #19B26C
split-complementary
#1F19B2 #B26C19 #60B219
monochromatic
#0C0A47 #16117C #1F19B2 #2F27E1 #635DE8
Accessibility & contrast
On white
11.41
#1F19B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1F19B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F19B2
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F19B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F19B2 | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041B6
Deuteranopia (green-blind)
#0032B0
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f19b2; /* rgb */ color: rgb(31, 25, 178); /* oklch */ color: oklch(37.1% 0.222 269.8);
Tailwind
colors: {
custom: {
50: '#795ccb',
500: '#1f19b2',
950: '#000000',
},
}SCSS
$custom: #1f19b2; $custom-light: #795ccb; $custom-dark: #000000;
JSON
{
"hex": "#1f19b2",
"rgb": {
"r": 31,
"g": 25,
"b": 178
},
"hsl": {
"h": 242.353,
"s": 75.369,
"l": 39.804
},
"oklch": {
"l": 0.37136,
"c": 0.2216,
"h": 269.8
},
"luminance": 0.04201
}Semantic roles & 50–950 ramp
primary
#1F19B2
secondary
#C8CC5B
accent
#F236EB
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0413
muted
#7C7982