#2791BA#2791BA
#2791BA is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 61.7% C 0.110 H 229.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2791BA |
|---|---|
| RGB | rgb(39, 145, 186) |
| HSL | hsl(197, 65%, 44%) |
| HSV | hsv(197, 79%, 73%) |
| CMYK | cmyk(79%, 22%, 0%, 27.1%) |
| CIE-LAB | lab(56.31, -15.18, -29.70) |
| CIE-LCH | lch(56.31, 33.36, 242.92°) |
| OKLab | oklab(61.68% -0.0719 -0.0835) |
| OKLCH | oklch(61.68% 0.11 229.3) |
| XYZ | xyz(19.8214, 24.2249, 50.0760) |
| Luminance | 0.2423 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 6.29
Water Blue
#0E87CC
ΔE00 7.56
Teal Blue
#01889F
ΔE00 7.63
Dusty Blue
#5A86AD
ΔE00 8.12
Steel Blue
#4682B4
ΔE00 8.18
Cerulean
#007BA7
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2791BA #BA5027
analogous
#27BA9A #2791BA #2748BA
triadic
#2791BA #BA2791 #91BA27
tetradic
#2791BA #9A27BA #BA5027 #48BA27
square
#2791BA #9A27BA #BA5027 #48BA27
split-complementary
#2791BA #BA2748 #BA9A27
monochromatic
#124255 #1C6A87 #2791BA #46AFD8 #79C5E3
Accessibility & contrast
On white
3.59
#2791BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#2791BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2791BA
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2791BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2791BA | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C8FBC
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#009C9F
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #2791ba; /* rgb */ color: rgb(39, 145, 186); /* oklch */ color: oklch(61.7% 0.110 229.3);
Tailwind
colors: {
custom: {
50: '#79b1cf',
500: '#2791ba',
950: '#000000',
},
}SCSS
$custom: #2791ba; $custom-light: #79b1cf; $custom-dark: #000000;
JSON
{
"hex": "#2791ba",
"rgb": {
"r": 39,
"g": 145,
"b": 186
},
"hsl": {
"h": 196.735,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.61684,
"c": 0.11025,
"h": 229.3
},
"luminance": 0.24227
}Semantic roles & 50–950 ramp
primary
#2791BA
secondary
#CB8B72
accent
#6F40E8
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1013
muted
#7C7F82