#3171AA#3171AA
#3171AA is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.4% C 0.111 H 248.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #3171AA |
|---|---|
| RGB | rgb(49, 113, 170) |
| HSL | hsl(208, 55%, 43%) |
| HSV | hsv(208, 71%, 67%) |
| CMYK | cmyk(71.2%, 33.5%, 0%, 33.3%) |
| CIE-LAB | lab(46.13, -1.09, -36.39) |
| CIE-LCH | lch(46.13, 36.41, 268.28°) |
| OKLab | oklab(53.43% -0.0409 -0.1032) |
| OKLCH | oklch(53.43% 0.111 248.4) |
| XYZ | xyz(14.4247, 15.3639, 40.2277) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.29
Muted Blue
#3B719F
ΔE00 1.62
Medium Blue
#2C6FBB
ΔE00 2.45
Bluish
#2976BB
ΔE00 2.51
Mid Blue
#276AB3
ΔE00 2.98
Dull Blue
#49759C
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3171AA #AA6A31
analogous
#31AAA6 #3171AA #3135AA
triadic
#3171AA #AA3171 #71AA31
tetradic
#3171AA #A631AA #AA6A31 #35AA31
square
#3171AA #A631AA #AA6A31 #35AA31
split-complementary
#3171AA #AA3135 #AAA631
monochromatic
#16324B #23517A #3171AA #4D90CC #7CADD9
Accessibility & contrast
On white
5.16
#3171AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#3171AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3171AA
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3171AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3171AA | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5774AC
Deuteranopia (green-blind)
#4668A9
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #3171aa; /* rgb */ color: rgb(49, 113, 170); /* oklch */ color: oklch(53.4% 0.111 248.4);
Tailwind
colors: {
custom: {
50: '#7899c3',
500: '#3171aa',
950: '#000000',
},
}SCSS
$custom: #3171aa; $custom-light: #7899c3; $custom-dark: #000000;
JSON
{
"hex": "#3171aa",
"rgb": {
"r": 49,
"g": 113,
"b": 170
},
"hsl": {
"h": 208.264,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.53432,
"c": 0.11101,
"h": 248.4
},
"luminance": 0.15366
}Semantic roles & 50–950 ramp
primary
#3171AA
secondary
#C29975
accent
#9049DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81