#2873AC#2873AC

#2873AC is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.7% C 0.115 H 245.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2873AC
RGBrgb(40, 115, 172)
HSLhsl(206, 62%, 42%)
HSVhsv(206, 77%, 67%)
CMYKcmyk(76.7%, 33.1%, 0%, 32.5%)
CIE-LABlab(46.56, -2.82, -36.89)
CIE-LCHlch(46.56, 37.00, 265.63°)
OKLaboklab(53.73% -0.0476 -0.1047)
OKLCHoklch(53.73% 0.115 245.6)
XYZxyz(14.4493, 15.6894, 41.2886)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873AC #AC6128
analogous
#28ACA3 #2873AC #2831AC
triadic
#2873AC #AC2873 #73AC28
tetradic
#2873AC #A328AC #AC6128 #31AC28
square
#2873AC #A328AC #AC6128 #31AC28
split-complementary
#2873AC #AC2831 #ACA328
monochromatic
#113149 #1C527A #2873AC #3F93D2 #71AFDE

Accessibility & contrast

On white

5.07
#2873AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2873AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873AC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873AC#FFFFFF#000000##FFFFFF
##2873AC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5975AE
Deuteranopia (green-blind)
#4669AB
Tritanopia (blue-blind)
#008187
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2873ac;
/* rgb */ color: rgb(40, 115, 172);
/* oklch */ color: oklch(53.7% 0.115 245.6);
Tailwind
colors: {
  custom: {
    50: '#759bc5',
    500: '#2873ac',
    950: '#000000',
  },
}
SCSS
$custom: #2873ac;
$custom-light: #759bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2873ac",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 172
  },
  "hsl": {
    "h": 205.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53732,
    "c": 0.11504,
    "h": 245.6
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#2873AC
secondary
#C5926B
accent
#8942E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2873AC

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

Preview Lab → · Contrast checker → · Palette generator →

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