#2873A0#2873A0

#2873A0 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.1% C 0.101 H 239.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2873A0
RGBrgb(40, 115, 160)
HSLhsl(203, 60%, 39%)
HSVhsv(203, 75%, 63%)
CMYKcmyk(75%, 28.1%, 0%, 37.3%)
CIE-LABlab(45.97, -7.23, -30.79)
CIE-LCHlch(45.97, 31.63, 256.79°)
OKLaboklab(53.07% -0.0514 -0.087)
OKLCHoklch(53.07% 0.101 239.4)
XYZxyz(13.3485, 15.2491, 35.4908)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873A0 #A05528
analogous
#28A091 #2873A0 #2837A0
triadic
#2873A0 #A02873 #73A028
tetradic
#2873A0 #9128A0 #A05528 #37A028
square
#2873A0 #9128A0 #A05528 #37A028
split-complementary
#2873A0 #A02837 #A09128
monochromatic
#102D3E #1C506F #2873A0 #3895CD #69AFD9

Accessibility & contrast

On white

5.18
#2873A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2873A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873A0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873A0#FFFFFF#000000##FFFFFF
##2873A01.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E73A2
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#007E83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2873a0;
/* rgb */ color: rgb(40, 115, 160);
/* oklch */ color: oklch(53.1% 0.101 239.4);
Tailwind
colors: {
  custom: {
    50: '#739bbc',
    500: '#2873a0',
    950: '#000000',
  },
}
SCSS
$custom: #2873a0;
$custom-light: #739bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2873a0",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 160
  },
  "hsl": {
    "h": 202.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.10103,
    "h": 239.4
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#2873A0
secondary
#C08664
accent
#8045E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2873A0

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

Preview Lab → · Contrast checker → · Palette generator →

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