#3172B7#3172B7
#3172B7 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.4% C 0.127 H 252.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3172B7 |
|---|---|
| RGB | rgb(49, 114, 183) |
| HSL | hsl(211, 58%, 45%) |
| HSV | hsv(211, 73%, 72%) |
| CMYK | cmyk(73.2%, 37.7%, 0%, 28.2%) |
| CIE-LAB | lab(47.11, 3.05, -42.41) |
| CIE-LCH | lch(47.11, 42.52, 274.12°) |
| OKLab | oklab(54.43% -0.0383 -0.1208) |
| OKLCH | oklch(54.43% 0.127 252.4) |
| XYZ | xyz(15.8280, 16.1047, 47.0649) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.19
Flat Blue
#3C73A8
ΔE00 1.80
Bluish
#2976BB
ΔE00 1.92
Windows Blue
#3778BF
ΔE00 2.38
Mid Blue
#276AB3
ΔE00 2.89
Muted Blue
#3B719F
ΔE00 3.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3172B7 #B77631
analogous
#31B5B7 #3172B7 #3331B7
triadic
#3172B7 #B73172 #72B731
tetradic
#3172B7 #B731B5 #B77631 #31B733
square
#3172B7 #B731B5 #B77631 #31B733
split-complementary
#3172B7 #B73331 #B5B731
monochromatic
#173656 #245487 #3172B7 #5491D1 #84B0DE
Accessibility & contrast
On white
4.97
#3172B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#3172B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3172B7
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3172B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3172B7 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5276BA
Deuteranopia (green-blind)
#3E6AB6
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3172b7; /* rgb */ color: rgb(49, 114, 183); /* oklch */ color: oklch(54.4% 0.127 252.4);
Tailwind
colors: {
custom: {
50: '#7a9acd',
500: '#3172b7',
950: '#000000',
},
}SCSS
$custom: #3172b7; $custom-light: #7a9acd; $custom-dark: #000000;
JSON
{
"hex": "#3172b7",
"rgb": {
"r": 49,
"g": 114,
"b": 183
},
"hsl": {
"h": 210.896,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.54427,
"c": 0.12671,
"h": 252.4
},
"luminance": 0.16106
}Semantic roles & 50–950 ramp
primary
#3172B7
secondary
#C8A37C
accent
#9647E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82