#3172AB#3172AB
#3172AB is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.7% C 0.111 H 248.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #3172AB |
|---|---|
| RGB | rgb(49, 114, 171) |
| HSL | hsl(208, 55%, 43%) |
| HSV | hsv(208, 71%, 67%) |
| CMYK | cmyk(71.3%, 33.3%, 0%, 32.9%) |
| CIE-LAB | lab(46.48, -1.34, -36.42) |
| CIE-LCH | lch(46.48, 36.45, 267.89°) |
| OKLab | oklab(53.73% -0.0416 -0.1033) |
| OKLCH | oklch(53.73% 0.111 248.1) |
| XYZ | xyz(14.6318, 15.6263, 40.7652) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.21
Muted Blue
#3B719F
ΔE00 1.71
Bluish
#2976BB
ΔE00 2.20
Medium Blue
#2C6FBB
ΔE00 2.59
Mid Blue
#276AB3
ΔE00 3.31
Dull Blue
#49759C
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3172AB #AB6A31
analogous
#31ABA7 #3172AB #3135AB
triadic
#3172AB #AB3172 #72AB31
tetradic
#3172AB #A731AB #AB6A31 #35AB31
square
#3172AB #A731AB #AB6A31 #35AB31
split-complementary
#3172AB #AB3135 #ABA731
monochromatic
#16334C #23527B #3172AB #4D91CC #7DAEDA
Accessibility & contrast
On white
5.09
#3172AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#3172AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3172AB
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3172AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3172AB | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#008086
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #3172ab; /* rgb */ color: rgb(49, 114, 171); /* oklch */ color: oklch(53.7% 0.111 248.1);
Tailwind
colors: {
custom: {
50: '#789ac4',
500: '#3172ab',
950: '#000000',
},
}SCSS
$custom: #3172ab; $custom-light: #789ac4; $custom-dark: #000000;
JSON
{
"hex": "#3172ab",
"rgb": {
"r": 49,
"g": 114,
"b": 171
},
"hsl": {
"h": 208.033,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.53726,
"c": 0.11134,
"h": 248.1
},
"luminance": 0.15628
}Semantic roles & 50–950 ramp
primary
#3172AB
secondary
#C29975
accent
#8F49DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81