#2888B2#2888B2
#2888B2 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.1% C 0.107 H 232.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2888B2 |
|---|---|
| RGB | rgb(40, 136, 178) |
| HSL | hsl(198, 63%, 43%) |
| HSV | hsv(198, 78%, 70%) |
| CMYK | cmyk(77.5%, 23.6%, 0%, 30.2%) |
| CIE-LAB | lab(53.25, -12.88, -29.90) |
| CIE-LCH | lch(53.25, 32.55, 246.69°) |
| OKLab | oklab(59.13% -0.0658 -0.0842) |
| OKLCH | oklch(59.13% 0.107 232) |
| XYZ | xyz(17.7119, 21.2717, 45.2832) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.51
Cerulean
#007BA7
ΔE00 5.08
Water Blue
#0E87CC
ΔE00 5.84
Steel Blue
#4682B4
ΔE00 5.94
Nice Blue
#107AB0
ΔE00 6.11
Cool Blue
#4984B8
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2888B2 #B25228
analogous
#28B297 #2888B2 #2843B2
triadic
#2888B2 #B22888 #88B228
tetradic
#2888B2 #9728B2 #B25228 #43B228
square
#2888B2 #9728B2 #B25228 #43B228
split-complementary
#2888B2 #B22843 #B29728
monochromatic
#123C4E #1D6280 #2888B2 #43A8D5 #75BFE0
Accessibility & contrast
On white
4.00
#2888B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#2888B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2888B2
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2888B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2888B2 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#6079B1
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2888b2; /* rgb */ color: rgb(40, 136, 178); /* oklch */ color: oklch(59.1% 0.107 232.0);
Tailwind
colors: {
custom: {
50: '#77aac9',
500: '#2888b2',
950: '#000000',
},
}SCSS
$custom: #2888b2; $custom-light: #77aac9; $custom-dark: #000000;
JSON
{
"hex": "#2888b2",
"rgb": {
"r": 40,
"g": 136,
"b": 178
},
"hsl": {
"h": 198.261,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.59127,
"c": 0.10683,
"h": 232
},
"luminance": 0.21274
}Semantic roles & 50–950 ramp
primary
#2888B2
secondary
#C78A6F
accent
#7441E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82