#3791BA#3791BA
#3791BA is a light, moderate cyan. Relative luminance 0.246; OKLCH L 62.1% C 0.104 H 231.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3791BA |
|---|---|
| RGB | rgb(55, 145, 186) |
| HSL | hsl(199, 54%, 47%) |
| HSV | hsv(199, 70%, 73%) |
| CMYK | cmyk(70.4%, 22%, 0%, 27.1%) |
| CIE-LAB | lab(56.69, -13.17, -29.09) |
| CIE-LCH | lch(56.69, 31.93, 245.64°) |
| OKLab | oklab(62.09% -0.0644 -0.0817) |
| OKLCH | oklch(62.09% 0.104 231.7) |
| XYZ | xyz(20.5603, 24.6059, 50.1107) |
| Luminance | 0.2461 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 6.43
Water Blue
#0E87CC
ΔE00 6.76
Dusty Blue
#5A86AD
ΔE00 7.10
Cool Blue
#4984B8
ΔE00 7.28
Steel Blue
#4682B4
ΔE00 7.31
Off Blue
#5684AE
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3791BA #BA6037
analogous
#37BAA2 #3791BA #374FBA
triadic
#3791BA #BA3791 #91BA37
tetradic
#3791BA #A237BA #BA6037 #4FBA37
square
#3791BA #A237BA #BA6037 #4FBA37
split-complementary
#3791BA #BA374F #BAA237
monochromatic
#1B475C #296C8B #3791BA #5FACD0 #8EC5DE
Accessibility & contrast
On white
3.55
#3791BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#3791BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3791BA
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3791BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3791BA | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C8FBC
Deuteranopia (green-blind)
#6B82B9
Tritanopia (blue-blind)
#009C9F
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #3791ba; /* rgb */ color: rgb(55, 145, 186); /* oklch */ color: oklch(62.1% 0.104 231.7);
Tailwind
colors: {
custom: {
50: '#7eb1cf',
500: '#3791ba',
950: '#000000',
},
}SCSS
$custom: #3791ba; $custom-light: #7eb1cf; $custom-dark: #000000;
JSON
{
"hex": "#3791ba",
"rgb": {
"r": 55,
"g": 145,
"b": 186
},
"hsl": {
"h": 198.779,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.62093,
"c": 0.10402,
"h": 231.7
},
"luminance": 0.24608
}Semantic roles & 50–950 ramp
primary
#3791BA
secondary
#C89A85
accent
#784ADE
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1013
muted
#7C7F82