#2791B4#2791B4
#2791B4 is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.4% C 0.105 H 225.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2791B4 |
|---|---|
| RGB | rgb(39, 145, 180) |
| HSL | hsl(195, 64%, 43%) |
| HSV | hsv(195, 78%, 71%) |
| CMYK | cmyk(78.3%, 19.4%, 0%, 29.4%) |
| CIE-LAB | lab(56.06, -17.26, -26.68) |
| CIE-LCH | lch(56.06, 31.77, 237.10°) |
| OKLab | oklab(61.4% -0.0742 -0.0748) |
| OKLCH | oklch(61.4% 0.105 225.3) |
| XYZ | xyz(19.1969, 23.9751, 46.7871) |
| Luminance | 0.2398 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.71
Teal Blue
#01889F
ΔE00 5.95
Cerulean
#007BA7
ΔE00 8.63
Dusty Blue
#5A86AD
ΔE00 9.07
Steel Blue
#4682B4
ΔE00 9.44
Water Blue
#0E87CC
ΔE00 9.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2791B4 #B44A27
analogous
#27B491 #2791B4 #274AB4
triadic
#2791B4 #B42791 #91B427
tetradic
#2791B4 #9127B4 #B44A27 #4AB427
square
#2791B4 #9127B4 #B44A27 #4AB427
split-complementary
#2791B4 #B4274A #B49127
monochromatic
#11404F #1C6882 #2791B4 #42B1D6 #74C6E1
Accessibility & contrast
On white
3.62
#2791B4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#2791B4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2791B4
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2791B4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2791B4 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8EB6
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#009B9C
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #2791b4; /* rgb */ color: rgb(39, 145, 180); /* oklch */ color: oklch(61.4% 0.105 225.3);
Tailwind
colors: {
custom: {
50: '#78b1ca',
500: '#2791b4',
950: '#000000',
},
}SCSS
$custom: #2791b4; $custom-light: #78b1ca; $custom-dark: #000000;
JSON
{
"hex": "#2791b4",
"rgb": {
"r": 39,
"g": 145,
"b": 180
},
"hsl": {
"h": 194.894,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.61402,
"c": 0.10537,
"h": 225.3
},
"luminance": 0.23977
}Semantic roles & 50–950 ramp
primary
#2791B4
secondary
#C8856F
accent
#6A40E7
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0A1013
muted
#7C7F82