#3171AB#3171AB
#3171AB is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.5% C 0.112 H 248.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3171AB |
|---|---|
| RGB | rgb(49, 113, 171) |
| HSL | hsl(209, 55%, 43%) |
| HSV | hsv(209, 71%, 67%) |
| CMYK | cmyk(71.3%, 33.9%, 0%, 32.9%) |
| CIE-LAB | lab(46.18, -0.73, -36.90) |
| CIE-LCH | lch(46.18, 36.90, 268.87°) |
| OKLab | oklab(53.49% -0.0406 -0.1047) |
| OKLCH | oklch(53.49% 0.112 248.8) |
| XYZ | xyz(14.5197, 15.4019, 40.7278) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.25
Muted Blue
#3B719F
ΔE00 1.73
Medium Blue
#2C6FBB
ΔE00 2.29
Bluish
#2976BB
ΔE00 2.43
Mid Blue
#276AB3
ΔE00 2.89
Dull Blue
#49759C
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3171AB #AB6B31
analogous
#31ABA8 #3171AB #3134AB
triadic
#3171AB #AB3171 #71AB31
tetradic
#3171AB #A831AB #AB6B31 #34AB31
square
#3171AB #A831AB #AB6B31 #34AB31
split-complementary
#3171AB #AB3134 #ABA831
monochromatic
#16324C #23527B #3171AB #4D90CC #7DADDA
Accessibility & contrast
On white
5.15
#3171AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#3171AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3171AB
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3171AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3171AB | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5774AD
Deuteranopia (green-blind)
#4668AA
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #3171ab; /* rgb */ color: rgb(49, 113, 171); /* oklch */ color: oklch(53.5% 0.112 248.8);
Tailwind
colors: {
custom: {
50: '#7899c4',
500: '#3171ab',
950: '#000000',
},
}SCSS
$custom: #3171ab; $custom-light: #7899c4; $custom-dark: #000000;
JSON
{
"hex": "#3171ab",
"rgb": {
"r": 49,
"g": 113,
"b": 171
},
"hsl": {
"h": 208.525,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.53489,
"c": 0.11227,
"h": 248.8
},
"luminance": 0.15403
}Semantic roles & 50–950 ramp
primary
#3171AB
secondary
#C29A75
accent
#9049DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81