#2791B3#2791B3
#2791B3 is a mid, moderate cyan. Relative luminance 0.239; OKLCH L 61.4% C 0.105 H 224.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2791B3 |
|---|---|
| RGB | rgb(39, 145, 179) |
| HSL | hsl(195, 64%, 43%) |
| HSV | hsv(195, 78%, 70%) |
| CMYK | cmyk(78.2%, 19%, 0%, 29.8%) |
| CIE-LAB | lab(56.02, -17.60, -26.17) |
| CIE-LCH | lch(56.02, 31.54, 236.08°) |
| OKLab | oklab(61.36% -0.0746 -0.0734) |
| OKLCH | oklch(61.36% 0.105 224.5) |
| XYZ | xyz(19.0954, 23.9345, 46.2525) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.67
Teal Blue
#01889F
ΔE00 5.68
Cerulean
#007BA7
ΔE00 8.74
Dusty Blue
#5A86AD
ΔE00 9.26
Ocean
#017B92
ΔE00 9.30
Steel Blue
#4682B4
ΔE00 9.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2791B3 #B34927
analogous
#27B38F #2791B3 #274BB3
triadic
#2791B3 #B32791 #91B327
tetradic
#2791B3 #8F27B3 #B34927 #4BB327
square
#2791B3 #8F27B3 #B34927 #4BB327
split-complementary
#2791B3 #B3274B #B38F27
monochromatic
#11404E #1C6881 #2791B3 #41B2D6 #74C6E1
Accessibility & contrast
On white
3.63
#2791B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#2791B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2791B3
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2791B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2791B3 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8EB5
Deuteranopia (green-blind)
#6B80B3
Tritanopia (blue-blind)
#009B9C
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #2791b3; /* rgb */ color: rgb(39, 145, 179); /* oklch */ color: oklch(61.4% 0.105 224.5);
Tailwind
colors: {
custom: {
50: '#78b1c9',
500: '#2791b3',
950: '#000000',
},
}SCSS
$custom: #2791b3; $custom-light: #78b1c9; $custom-dark: #000000;
JSON
{
"hex": "#2791b3",
"rgb": {
"r": 39,
"g": 145,
"b": 179
},
"hsl": {
"h": 194.571,
"s": 64.22,
"l": 42.745
},
"oklch": {
"l": 0.61356,
"c": 0.10462,
"h": 224.5
},
"luminance": 0.23937
}Semantic roles & 50–950 ramp
primary
#2791B3
secondary
#C8846E
accent
#6941E7
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1013
muted
#7C7F82