#3172B3#3172B3
#3172B3 is a mid, vivid cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.122 H 251.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3172B3 |
|---|---|
| RGB | rgb(49, 114, 179) |
| HSL | hsl(210, 57%, 45%) |
| HSV | hsv(210, 73%, 70%) |
| CMYK | cmyk(72.6%, 36.3%, 0%, 29.8%) |
| CIE-LAB | lab(46.90, 1.58, -40.43) |
| CIE-LCH | lch(46.90, 40.46, 272.24°) |
| OKLab | oklab(54.19% -0.0394 -0.115) |
| OKLCH | oklch(54.19% 0.122 251.1) |
| XYZ | xyz(15.4176, 15.9406, 44.9034) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.44
Medium Blue
#2C6FBB
ΔE00 1.53
Bluish
#2976BB
ΔE00 1.83
Muted Blue
#3B719F
ΔE00 2.63
Windows Blue
#3778BF
ΔE00 2.64
Mid Blue
#276AB3
ΔE00 2.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3172B3 #B37231
analogous
#31B3B3 #3172B3 #3131B3
triadic
#3172B3 #B33172 #72B331
tetradic
#3172B3 #B331B3 #B37231 #31B331
square
#3172B3 #B331B3 #B37231 #31B331
split-complementary
#3172B3 #B33131 #B3B331
monochromatic
#173553 #245383 #3172B3 #5291D0 #82AFDD
Accessibility & contrast
On white
5.01
#3172B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#3172B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3172B3
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3172B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3172B3 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5476B6
Deuteranopia (green-blind)
#416AB2
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3172b3; /* rgb */ color: rgb(49, 114, 179); /* oklch */ color: oklch(54.2% 0.122 251.1);
Tailwind
colors: {
custom: {
50: '#7a9aca',
500: '#3172b3',
950: '#000000',
},
}SCSS
$custom: #3172b3; $custom-light: #7a9aca; $custom-dark: #000000;
JSON
{
"hex": "#3172b3",
"rgb": {
"r": 49,
"g": 114,
"b": 179
},
"hsl": {
"h": 210,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.54188,
"c": 0.12153,
"h": 251.1
},
"luminance": 0.15942
}Semantic roles & 50–950 ramp
primary
#3172B3
secondary
#C6A07A
accent
#9448E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82