#2791B2#2791B2
#2791B2 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.3% C 0.104 H 223.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2791B2 |
|---|---|
| RGB | rgb(39, 145, 178) |
| HSL | hsl(194, 64%, 43%) |
| HSV | hsv(194, 78%, 70%) |
| CMYK | cmyk(78.1%, 18.5%, 0%, 30.2%) |
| CIE-LAB | lab(55.98, -17.94, -25.66) |
| CIE-LCH | lch(55.98, 31.31, 235.04°) |
| OKLab | oklab(61.31% -0.0749 -0.0719) |
| OKLCH | oklch(61.31% 0.104 223.8) |
| XYZ | xyz(18.9946, 23.8942, 45.7218) |
| Luminance | 0.2390 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 5.42
Dirty Blue
#3F829D
ΔE00 5.65
Cerulean
#007BA7
ΔE00 8.87
Ocean
#017B92
ΔE00 9.15
Dusty Blue
#5A86AD
ΔE00 9.46
Greyish Blue
#5E819D
ΔE00 9.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2791B2 #B24827
analogous
#27B28E #2791B2 #274BB2
triadic
#2791B2 #B22791 #91B227
tetradic
#2791B2 #8E27B2 #B24827 #4BB227
square
#2791B2 #8E27B2 #B24827 #4BB227
split-complementary
#2791B2 #B2274B #B28E27
monochromatic
#113F4E #1C6880 #2791B2 #41B2D5 #73C6E0
Accessibility & contrast
On white
3.63
#2791B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#2791B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2791B2
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2791B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2791B2 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8EB4
Deuteranopia (green-blind)
#6C80B2
Tritanopia (blue-blind)
#009B9C
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #2791b2; /* rgb */ color: rgb(39, 145, 178); /* oklch */ color: oklch(61.3% 0.104 223.8);
Tailwind
colors: {
custom: {
50: '#78b1c9',
500: '#2791b2',
950: '#000000',
},
}SCSS
$custom: #2791b2; $custom-light: #78b1c9; $custom-dark: #000000;
JSON
{
"hex": "#2791b2",
"rgb": {
"r": 39,
"g": 145,
"b": 178
},
"hsl": {
"h": 194.245,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.6131,
"c": 0.10388,
"h": 223.8
},
"luminance": 0.23896
}Semantic roles & 50–950 ramp
primary
#2791B2
secondary
#C8836D
accent
#6841E7
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1013
muted
#7C7F82