#3172B1#3172B1
#3172B1 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.1% C 0.119 H 250.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3172B1 |
|---|---|
| RGB | rgb(49, 114, 177) |
| HSL | hsl(210, 57%, 44%) |
| HSV | hsv(210, 72%, 69%) |
| CMYK | cmyk(72.3%, 35.6%, 0%, 30.6%) |
| CIE-LAB | lab(46.79, 0.85, -39.43) |
| CIE-LCH | lch(46.79, 39.44, 271.23°) |
| OKLab | oklab(54.07% -0.0399 -0.1121) |
| OKLCH | oklch(54.07% 0.119 250.4) |
| XYZ | xyz(15.2168, 15.8602, 43.8458) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.29
Medium Blue
#2C6FBB
ΔE00 1.76
Bluish
#2976BB
ΔE00 1.85
Muted Blue
#3B719F
ΔE00 2.39
Windows Blue
#3778BF
ΔE00 2.80
Mid Blue
#276AB3
ΔE00 2.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3172B1 #B17031
analogous
#31B1B0 #3172B1 #3132B1
triadic
#3172B1 #B13172 #72B131
tetradic
#3172B1 #B031B1 #B17031 #32B131
square
#3172B1 #B031B1 #B17031 #32B131
split-complementary
#3172B1 #B13132 #B1B031
monochromatic
#163451 #245381 #3172B1 #5191CF #80AFDC
Accessibility & contrast
On white
5.03
#3172B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#3172B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3172B1
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3172B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3172B1 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5575B4
Deuteranopia (green-blind)
#4369B0
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3172b1; /* rgb */ color: rgb(49, 114, 177); /* oklch */ color: oklch(54.1% 0.119 250.4);
Tailwind
colors: {
custom: {
50: '#799ac8',
500: '#3172b1',
950: '#000000',
},
}SCSS
$custom: #3172b1; $custom-light: #799ac8; $custom-dark: #000000;
JSON
{
"hex": "#3172b1",
"rgb": {
"r": 49,
"g": 114,
"b": 177
},
"hsl": {
"h": 209.531,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.54071,
"c": 0.11896,
"h": 250.4
},
"luminance": 0.15862
}Semantic roles & 50–950 ramp
primary
#3172B1
secondary
#C59E79
accent
#9348E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82