#3172C5#3172C5
#3172C5 is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 55.3% C 0.145 H 256.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3172C5 |
|---|---|
| RGB | rgb(49, 114, 197) |
| HSL | hsl(214, 60%, 48%) |
| HSV | hsv(214, 75%, 77%) |
| CMYK | cmyk(75.1%, 42.1%, 0%, 22.7%) |
| CIE-LAB | lab(47.90, 8.24, -49.23) |
| CIE-LCH | lch(47.90, 49.91, 279.51°) |
| OKLab | oklab(55.3% -0.0351 -0.1408) |
| OKLCH | oklch(55.3% 0.145 256) |
| XYZ | xyz(17.3583, 16.7168, 55.1243) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.75
Windows Blue
#3778BF
ΔE00 2.36
Bluish
#2976BB
ΔE00 3.00
Flat Blue
#3C73A8
ΔE00 3.27
Mid Blue
#276AB3
ΔE00 3.65
French Blue
#436BAD
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3172C5 #C58431
analogous
#31BCC5 #3172C5 #3A31C5
triadic
#3172C5 #C53172 #72C531
tetradic
#3172C5 #C531BC #C58431 #31C53A
square
#3172C5 #C531BC #C58431 #31C53A
split-complementary
#3172C5 #C53A31 #BCC531
monochromatic
#193963 #255694 #3172C5 #5D92D7 #8EB3E3
Accessibility & contrast
On white
4.83
#3172C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#3172C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3172C5
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3172C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3172C5 | 1.00 | 4.83 | 4.34 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4979C8
Deuteranopia (green-blind)
#2F6BC3
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #3172c5; /* rgb */ color: rgb(49, 114, 197); /* oklch */ color: oklch(55.3% 0.145 256.0);
Tailwind
colors: {
custom: {
50: '#7d9ad7',
500: '#3172c5',
950: '#000000',
},
}SCSS
$custom: #3172c5; $custom-light: #7d9ad7; $custom-dark: #000000;
JSON
{
"hex": "#3172c5",
"rgb": {
"r": 49,
"g": 114,
"b": 197
},
"hsl": {
"h": 213.649,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.55298,
"c": 0.14509,
"h": 256
},
"luminance": 0.16719
}Semantic roles & 50–950 ramp
primary
#3172C5
secondary
#CDAD85
accent
#9E44E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83