#1F58C2#1F58C2
#1F58C2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.9% C 0.177 H 261.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F58C2 |
|---|---|
| RGB | rgb(31, 88, 194) |
| HSL | hsl(219, 72%, 44%) |
| HSV | hsv(219, 84%, 76%) |
| CMYK | cmyk(84%, 54.6%, 0%, 23.9%) |
| CIE-LAB | lab(39.86, 21.97, -60.48) |
| CIE-LCH | lch(39.86, 64.35, 289.96°) |
| OKLab | oklab(48.91% -0.0263 -0.1746) |
| OKLCH | oklch(48.91% 0.177 261.4) |
| XYZ | xyz(13.7889, 11.1641, 52.4566) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.24
Denim
#1560BD
ΔE00 3.56
Azul
#1D5DEC
ΔE00 5.65
Denim Blue
#3B5B92
ΔE00 6.01
Cobalt
#0047AB
ΔE00 6.04
Dusk Blue
#26538D
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F58C2 #C2891F
analogous
#1FAAC2 #1F58C2 #371FC2
triadic
#1F58C2 #C21F58 #58C21F
tetradic
#1F58C2 #C21FAA #C2891F #1FC237
square
#1F58C2 #C21FAA #C2891F #1FC237
split-complementary
#1F58C2 #C2371F #AAC21F
monochromatic
#0E2858 #17408D #1F58C2 #3E77E0 #739CE9
Accessibility & contrast
On white
6.50
#1F58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#1F58C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F58C2
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F58C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F58C2 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #1f58c2; /* rgb */ color: rgb(31, 88, 194); /* oklch */ color: oklch(48.9% 0.177 261.4);
Tailwind
colors: {
custom: {
50: '#7886d5',
500: '#1f58c2',
950: '#000000',
},
}SCSS
$custom: #1f58c2; $custom-light: #7886d5; $custom-dark: #000000;
JSON
{
"hex": "#1f58c2",
"rgb": {
"r": 31,
"g": 88,
"b": 194
},
"hsl": {
"h": 219.018,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.48908,
"c": 0.17661,
"h": 261.4
},
"luminance": 0.11166
}Semantic roles & 50–950 ramp
primary
#1F58C2
secondary
#CFAD6D
accent
#AF39EF
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83