#3172B4#3172B4
#3172B4 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.2% C 0.123 H 251.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3172B4 |
|---|---|
| RGB | rgb(49, 114, 180) |
| HSL | hsl(210, 57%, 45%) |
| HSV | hsv(210, 73%, 71%) |
| CMYK | cmyk(72.8%, 36.7%, 0%, 29.4%) |
| CIE-LAB | lab(46.95, 1.95, -40.92) |
| CIE-LCH | lch(46.95, 40.97, 272.72°) |
| OKLab | oklab(54.25% -0.0391 -0.1164) |
| OKLCH | oklch(54.25% 0.123 251.4) |
| XYZ | xyz(15.5191, 15.9812, 45.4379) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.43
Flat Blue
#3C73A8
ΔE00 1.52
Bluish
#2976BB
ΔE00 1.84
Windows Blue
#3778BF
ΔE00 2.56
Muted Blue
#3B719F
ΔE00 2.74
Mid Blue
#276AB3
ΔE00 2.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3172B4 #B47331
analogous
#31B3B4 #3172B4 #3231B4
triadic
#3172B4 #B43172 #72B431
tetradic
#3172B4 #B431B3 #B47331 #31B432
square
#3172B4 #B431B3 #B47331 #31B432
split-complementary
#3172B4 #B43231 #B3B431
monochromatic
#173554 #245484 #3172B4 #5291D0 #82AFDD
Accessibility & contrast
On white
5.00
#3172B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#3172B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3172B4
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3172B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3172B4 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5476B7
Deuteranopia (green-blind)
#406AB3
Tritanopia (blue-blind)
#00828A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3172b4; /* rgb */ color: rgb(49, 114, 180); /* oklch */ color: oklch(54.2% 0.123 251.4);
Tailwind
colors: {
custom: {
50: '#7a9acb',
500: '#3172b4',
950: '#000000',
},
}SCSS
$custom: #3172b4; $custom-light: #7a9acb; $custom-dark: #000000;
JSON
{
"hex": "#3172b4",
"rgb": {
"r": 49,
"g": 114,
"b": 180
},
"hsl": {
"h": 210.229,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.54247,
"c": 0.12283,
"h": 251.4
},
"luminance": 0.15983
}Semantic roles & 50–950 ramp
primary
#3172B4
secondary
#C6A17B
accent
#9447E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82