#2891BA#2891BA
#2891BA is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 61.7% C 0.110 H 229.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2891BA |
|---|---|
| RGB | rgb(40, 145, 186) |
| HSL | hsl(197, 65%, 44%) |
| HSV | hsv(197, 78%, 73%) |
| CMYK | cmyk(78.5%, 22%, 0%, 27.1%) |
| CIE-LAB | lab(56.33, -15.08, -29.67) |
| CIE-LCH | lch(56.33, 33.28, 243.06°) |
| OKLab | oklab(61.71% -0.0715 -0.0834) |
| OKLCH | oklch(61.71% 0.11 229.4) |
| XYZ | xyz(19.8598, 24.2447, 50.0778) |
| Luminance | 0.2425 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 6.29
Water Blue
#0E87CC
ΔE00 7.52
Teal Blue
#01889F
ΔE00 7.67
Dusty Blue
#5A86AD
ΔE00 8.07
Steel Blue
#4682B4
ΔE00 8.13
Cool Blue
#4984B8
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2891BA #BA5128
analogous
#28BA9A #2891BA #2848BA
triadic
#2891BA #BA2891 #91BA28
tetradic
#2891BA #9A28BA #BA5128 #48BA28
square
#2891BA #9A28BA #BA5128 #48BA28
split-complementary
#2891BA #BA2848 #BA9A28
monochromatic
#124255 #1D6A88 #2891BA #48AFD8 #7AC5E2
Accessibility & contrast
On white
3.59
#2891BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#2891BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2891BA
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2891BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2891BA | 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: #2891ba; /* rgb */ color: rgb(40, 145, 186); /* oklch */ color: oklch(61.7% 0.110 229.4);
Tailwind
colors: {
custom: {
50: '#79b1cf',
500: '#2891ba',
950: '#000000',
},
}SCSS
$custom: #2891ba; $custom-light: #79b1cf; $custom-dark: #000000;
JSON
{
"hex": "#2891ba",
"rgb": {
"r": 40,
"g": 145,
"b": 186
},
"hsl": {
"h": 196.849,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.61706,
"c": 0.10991,
"h": 229.4
},
"luminance": 0.24247
}Semantic roles & 50–950 ramp
primary
#2891BA
secondary
#CA8C73
accent
#6F40E8
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1013
muted
#7C7F82