#1F5FD2#1F5FD2
#1F5FD2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.189 H 261.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5FD2 |
|---|---|
| RGB | rgb(31, 95, 210) |
| HSL | hsl(219, 74%, 47%) |
| HSV | hsv(219, 85%, 82%) |
| CMYK | cmyk(85.2%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(42.95, 23.60, -64.69) |
| CIE-LCH | lch(42.95, 68.86, 290.04°) |
| OKLab | oklab(51.63% -0.0292 -0.1869) |
| OKLCH | oklch(51.63% 0.189 261.1) |
| XYZ | xyz(16.2859, 13.1268, 62.6356) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.39
Azul
#1D5DEC
ΔE00 3.58
Royal Blue
#4169E1
ΔE00 4.87
Sapphire
#0F52BA
ΔE00 5.15
Bright Blue
#0165FC
ΔE00 5.41
French Blue
#436BAD
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5FD2 #D2921F
analogous
#1FB9D2 #1F5FD2 #381FD2
triadic
#1F5FD2 #D21F5F #5FD21F
tetradic
#1F5FD2 #D21FB9 #D2921F #1FD238
square
#1F5FD2 #D21FB9 #D2921F #1FD238
split-complementary
#1F5FD2 #D2381F #B9D21F
monochromatic
#0F2F67 #17479D #1F5FD2 #4A81E4 #7FA6EC
Accessibility & contrast
On white
5.79
#1F5FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#1F5FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5FD2
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5FD2 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #1f5fd2; /* rgb */ color: rgb(31, 95, 210); /* oklch */ color: oklch(51.6% 0.189 261.1);
Tailwind
colors: {
custom: {
50: '#7c8be1',
500: '#1f5fd2',
950: '#000000',
},
}SCSS
$custom: #1f5fd2; $custom-light: #7c8be1; $custom-dark: #000000;
JSON
{
"hex": "#1f5fd2",
"rgb": {
"r": 31,
"g": 95,
"b": 210
},
"hsl": {
"h": 218.547,
"s": 74.274,
"l": 47.255
},
"oklch": {
"l": 0.51633,
"c": 0.18913,
"h": 261.1
},
"luminance": 0.13129
}Semantic roles & 50–950 ramp
primary
#1F5FD2
secondary
#D4B478
accent
#AE37F1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83