#2881AF#2881AF
#2881AF is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.3% C 0.108 H 236.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2881AF |
|---|---|
| RGB | rgb(40, 129, 175) |
| HSL | hsl(200, 63%, 42%) |
| HSV | hsv(200, 77%, 69%) |
| CMYK | cmyk(77.1%, 26.3%, 0%, 31.4%) |
| CIE-LAB | lab(50.97, -9.98, -31.71) |
| CIE-LCH | lch(50.97, 33.25, 252.54°) |
| OKLab | oklab(57.27% -0.0601 -0.0895) |
| OKLCH | oklch(57.27% 0.108 236.1) |
| XYZ | xyz(16.4601, 19.2448, 43.3962) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 3.13
Cerulean
#007BA7
ΔE00 3.15
Steel Blue
#4682B4
ΔE00 4.33
Water Blue
#0E87CC
ΔE00 4.77
Cool Blue
#4984B8
ΔE00 5.07
Dirty Blue
#3F829D
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2881AF #AF5628
analogous
#28AF99 #2881AF #283EAF
triadic
#2881AF #AF2881 #81AF28
tetradic
#2881AF #9928AF #AF5628 #3EAF28
square
#2881AF #9928AF #AF5628 #3EAF28
split-complementary
#2881AF #AF283E #AF9928
monochromatic
#11384B #1D5C7D #2881AF #41A1D4 #73BADF
Accessibility & contrast
On white
4.33
#2881AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#2881AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2881AF
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2881AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2881AF | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B80B1
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#008D91
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2881af; /* rgb */ color: rgb(40, 129, 175); /* oklch */ color: oklch(57.3% 0.108 236.1);
Tailwind
colors: {
custom: {
50: '#76a5c7',
500: '#2881af',
950: '#000000',
},
}SCSS
$custom: #2881af; $custom-light: #76a5c7; $custom-dark: #000000;
JSON
{
"hex": "#2881af",
"rgb": {
"r": 40,
"g": 129,
"b": 175
},
"hsl": {
"h": 200.444,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.57272,
"c": 0.10778,
"h": 236.1
},
"luminance": 0.19247
}Semantic roles & 50–950 ramp
primary
#2881AF
secondary
#C68B6D
accent
#7A42E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82