#1F5CC2#1F5CC2
#1F5CC2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.172 H 260.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5CC2 |
|---|---|
| RGB | rgb(31, 92, 194) |
| HSL | hsl(218, 72%, 44%) |
| HSV | hsv(218, 84%, 76%) |
| CMYK | cmyk(84%, 52.6%, 0%, 23.9%) |
| CIE-LAB | lab(40.96, 19.34, -58.69) |
| CIE-LCH | lch(40.96, 61.80, 288.24°) |
| OKLab | oklab(49.75% -0.0289 -0.1693) |
| OKLCH | oklch(49.75% 0.172 260.3) |
| XYZ | xyz(14.1263, 11.8389, 52.5691) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.22
Sapphire
#0F52BA
ΔE00 3.39
Azul
#1D5DEC
ΔE00 5.57
French Blue
#436BAD
ΔE00 5.66
Mid Blue
#276AB3
ΔE00 5.69
Denim Blue
#3B5B92
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5CC2 #C2851F
analogous
#1FAEC2 #1F5CC2 #341FC2
triadic
#1F5CC2 #C21F5C #5CC21F
tetradic
#1F5CC2 #C21FAE #C2851F #1FC234
square
#1F5CC2 #C21FAE #C2851F #1FC234
split-complementary
#1F5CC2 #C2341F #AEC21F
monochromatic
#0E2A58 #17438D #1F5CC2 #3E7BE0 #739FE9
Accessibility & contrast
On white
6.23
#1F5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#1F5CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5CC2
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5CC2 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E68C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f5cc2; /* rgb */ color: rgb(31, 92, 194); /* oklch */ color: oklch(49.7% 0.172 260.3);
Tailwind
colors: {
custom: {
50: '#7889d5',
500: '#1f5cc2',
950: '#000000',
},
}SCSS
$custom: #1f5cc2; $custom-light: #7889d5; $custom-dark: #000000;
JSON
{
"hex": "#1f5cc2",
"rgb": {
"r": 31,
"g": 92,
"b": 194
},
"hsl": {
"h": 217.546,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.49747,
"c": 0.17174,
"h": 260.3
},
"luminance": 0.11841
}Semantic roles & 50–950 ramp
primary
#1F5CC2
secondary
#CFAB6D
accent
#AB39EF
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83