#2873AF#2873AF
#2873AF is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.9% C 0.119 H 246.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2873AF |
|---|---|
| RGB | rgb(40, 115, 175) |
| HSL | hsl(207, 63%, 42%) |
| HSV | hsv(207, 77%, 69%) |
| CMYK | cmyk(77.1%, 34.3%, 0%, 31.4%) |
| CIE-LAB | lab(46.72, -1.70, -38.40) |
| CIE-LCH | lch(46.72, 38.43, 267.46°) |
| OKLab | oklab(53.91% -0.0467 -0.1091) |
| OKLCH | oklch(53.91% 0.119 246.8) |
| XYZ | xyz(14.7407, 15.8060, 42.8231) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.89
Flat Blue
#3C73A8
ΔE00 2.01
Muted Blue
#3B719F
ΔE00 2.38
Medium Blue
#2C6FBB
ΔE00 3.12
Windows Blue
#3778BF
ΔE00 3.49
Mid Blue
#276AB3
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2873AF #AF6428
analogous
#28AFA8 #2873AF #282FAF
triadic
#2873AF #AF2873 #73AF28
tetradic
#2873AF #A828AF #AF6428 #2FAF28
square
#2873AF #A828AF #AF6428 #2FAF28
split-complementary
#2873AF #AF282F #AFA828
monochromatic
#11324B #1D527D #2873AF #4192D4 #73AFDF
Accessibility & contrast
On white
5.05
#2873AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2873AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2873AF
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2873AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2873AF | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5776B2
Deuteranopia (green-blind)
#4469AE
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2873af; /* rgb */ color: rgb(40, 115, 175); /* oklch */ color: oklch(53.9% 0.119 246.8);
Tailwind
colors: {
custom: {
50: '#769bc7',
500: '#2873af',
950: '#000000',
},
}SCSS
$custom: #2873af; $custom-light: #769bc7; $custom-dark: #000000;
JSON
{
"hex": "#2873af",
"rgb": {
"r": 40,
"g": 115,
"b": 175
},
"hsl": {
"h": 206.667,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.53905,
"c": 0.1187,
"h": 246.8
},
"luminance": 0.15808
}Semantic roles & 50–950 ramp
primary
#2873AF
secondary
#C6946D
accent
#8B42E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82