#3791AC#3791AC
#3791AC is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.5% C 0.093 H 221.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3791AC |
|---|---|
| RGB | rgb(55, 145, 172) |
| HSL | hsl(194, 52%, 45%) |
| HSV | hsv(194, 68%, 67%) |
| CMYK | cmyk(68%, 15.7%, 0%, 32.5%) |
| CIE-LAB | lab(56.13, -17.80, -21.98) |
| CIE-LCH | lch(56.13, 28.29, 231.00°) |
| OKLab | oklab(61.46% -0.0697 -0.0613) |
| OKLCH | oklch(61.46% 0.093 221.3) |
| XYZ | xyz(19.1443, 24.0395, 42.6529) |
| Luminance | 0.2404 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 4.84
Dirty Blue
#3F829D
ΔE00 5.56
Ocean
#017B92
ΔE00 8.91
Greyblue
#77A1B5
ΔE00 9.22
Cerulean
#007BA7
ΔE00 9.73
Greyish Blue
#5E819D
ΔE00 9.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3791AC #AC5237
analogous
#37AC8D #3791AC #3757AC
triadic
#3791AC #AC3791 #91AC37
tetradic
#3791AC #8D37AC #AC5237 #57AC37
square
#3791AC #8D37AC #AC5237 #57AC37
split-complementary
#3791AC #AC3757 #AC8D37
monochromatic
#19434F #286A7E #3791AC #57AFC9 #85C5D8
Accessibility & contrast
On white
3.62
#3791AC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#3791AC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3791AC
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3791AC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3791AC | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#818DAD
Deuteranopia (green-blind)
#7181AC
Tritanopia (blue-blind)
#009A9A
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #3791ac; /* rgb */ color: rgb(55, 145, 172); /* oklch */ color: oklch(61.5% 0.093 221.3);
Tailwind
colors: {
custom: {
50: '#7cb1c4',
500: '#3791ac',
950: '#000000',
},
}SCSS
$custom: #3791ac; $custom-light: #7cb1c4; $custom-dark: #000000;
JSON
{
"hex": "#3791ac",
"rgb": {
"r": 55,
"g": 145,
"b": 172
},
"hsl": {
"h": 193.846,
"s": 51.542,
"l": 44.51
},
"oklch": {
"l": 0.61458,
"c": 0.09285,
"h": 221.3
},
"luminance": 0.24042
}Semantic roles & 50–950 ramp
primary
#3791AC
secondary
#C28D7D
accent
#6E4DDB
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0B1012
muted
#7C7F81