#2873A4#2873A4

#2873A4 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.3% C 0.106 H 241.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2873A4
RGBrgb(40, 115, 164)
HSLhsl(204, 61%, 40%)
HSVhsv(204, 76%, 64%)
CMYKcmyk(75.6%, 29.9%, 0%, 35.7%)
CIE-LABlab(46.17, -5.77, -32.84)
CIE-LCHlch(46.17, 33.34, 260.03°)
OKLaboklab(53.29% -0.0501 -0.0929)
OKLCHoklch(53.29% 0.106 241.7)
XYZxyz(13.7040, 15.3913, 37.3633)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873A4 #A45928
analogous
#28A497 #2873A4 #2835A4
triadic
#2873A4 #A42873 #73A428
tetradic
#2873A4 #9728A4 #A45928 #35A428
square
#2873A4 #9728A4 #A45928 #35A428
split-complementary
#2873A4 #A42835 #A49728
monochromatic
#102E42 #1C5073 #2873A4 #3A94CF #6BAFDB

Accessibility & contrast

On white

5.15
#2873A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2873A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873A4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873A4#FFFFFF#000000##FFFFFF
##2873A41.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A6
Deuteranopia (green-blind)
#4B68A3
Tritanopia (blue-blind)
#007F84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2873a4;
/* rgb */ color: rgb(40, 115, 164);
/* oklch */ color: oklch(53.3% 0.106 241.7);
Tailwind
colors: {
  custom: {
    50: '#749bbf',
    500: '#2873a4',
    950: '#000000',
  },
}
SCSS
$custom: #2873a4;
$custom-light: #749bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2873a4",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 164
  },
  "hsl": {
    "h": 203.71,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.10556,
    "h": 241.7
  },
  "luminance": 0.15393
}

Semantic roles & 50–950 ramp

primary
#2873A4
secondary
#C18A66
accent
#8344E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2873A4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2873A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva