#3172BF#3172BF
#3172BF is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.9% C 0.137 H 254.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3172BF |
|---|---|
| RGB | rgb(49, 114, 191) |
| HSL | hsl(213, 59%, 47%) |
| HSV | hsv(213, 74%, 75%) |
| CMYK | cmyk(74.3%, 40.3%, 0%, 25.1%) |
| CIE-LAB | lab(47.56, 6.01, -46.32) |
| CIE-LCH | lch(47.56, 46.71, 277.39°) |
| OKLab | oklab(54.92% -0.0364 -0.1323) |
| OKLCH | oklch(54.92% 0.137 254.6) |
| XYZ | xyz(16.6844, 16.4473, 51.5754) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.23
Windows Blue
#3778BF
ΔE00 2.20
Bluish
#2976BB
ΔE00 2.46
Flat Blue
#3C73A8
ΔE00 2.63
Mid Blue
#276AB3
ΔE00 3.21
Muted Blue
#3B719F
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3172BF #BF7E31
analogous
#31B9BF #3172BF #3731BF
triadic
#3172BF #BF3172 #72BF31
tetradic
#3172BF #BF31B9 #BF7E31 #31BF37
square
#3172BF #BF31B9 #BF7E31 #31BF37
split-complementary
#3172BF #BF3731 #B9BF31
monochromatic
#18385E #25558E #3172BF #5991D4 #8AB2E1
Accessibility & contrast
On white
4.90
#3172BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#3172BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3172BF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3172BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3172BF | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#366BBD
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #3172bf; /* rgb */ color: rgb(49, 114, 191); /* oklch */ color: oklch(54.9% 0.137 254.6);
Tailwind
colors: {
custom: {
50: '#7c9ad3',
500: '#3172bf',
950: '#000000',
},
}SCSS
$custom: #3172bf; $custom-light: #7c9ad3; $custom-dark: #000000;
JSON
{
"hex": "#3172bf",
"rgb": {
"r": 49,
"g": 114,
"b": 191
},
"hsl": {
"h": 212.535,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.54918,
"c": 0.13718,
"h": 254.6
},
"luminance": 0.16449
}Semantic roles & 50–950 ramp
primary
#3172BF
secondary
#CBA981
accent
#9B45E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83