#3172AC#3172AC
#3172AC is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.8% C 0.113 H 248.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3172AC |
|---|---|
| RGB | rgb(49, 114, 172) |
| HSL | hsl(208, 56%, 43%) |
| HSV | hsv(208, 72%, 67%) |
| CMYK | cmyk(71.5%, 33.7%, 0%, 32.5%) |
| CIE-LAB | lab(46.53, -0.98, -36.93) |
| CIE-LCH | lch(46.53, 36.94, 268.49°) |
| OKLab | oklab(53.78% -0.0413 -0.1047) |
| OKLCH | oklch(53.78% 0.113 248.5) |
| XYZ | xyz(14.7275, 15.6645, 41.2691) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.18
Muted Blue
#3B719F
ΔE00 1.81
Bluish
#2976BB
ΔE00 2.11
Medium Blue
#2C6FBB
ΔE00 2.43
Mid Blue
#276AB3
ΔE00 3.23
Windows Blue
#3778BF
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3172AC #AC6B31
analogous
#31ACA8 #3172AC #3134AC
triadic
#3172AC #AC3172 #72AC31
tetradic
#3172AC #A831AC #AC6B31 #34AC31
square
#3172AC #A831AC #AC6B31 #34AC31
split-complementary
#3172AC #AC3134 #ACA831
monochromatic
#16334D #23527C #3172AC #4E91CC #7DAEDA
Accessibility & contrast
On white
5.08
#3172AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#3172AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3172AC
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3172AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3172AC | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5875AE
Deuteranopia (green-blind)
#4669AB
Tritanopia (blue-blind)
#008087
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #3172ac; /* rgb */ color: rgb(49, 114, 172); /* oklch */ color: oklch(53.8% 0.113 248.5);
Tailwind
colors: {
custom: {
50: '#789ac5',
500: '#3172ac',
950: '#000000',
},
}SCSS
$custom: #3172ac; $custom-light: #789ac5; $custom-dark: #000000;
JSON
{
"hex": "#3172ac",
"rgb": {
"r": 49,
"g": 114,
"b": 172
},
"hsl": {
"h": 208.293,
"s": 55.656,
"l": 43.333
},
"oklch": {
"l": 0.53782,
"c": 0.1126,
"h": 248.5
},
"luminance": 0.15666
}Semantic roles & 50–950 ramp
primary
#3172AC
secondary
#C39A76
accent
#9049DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82