#2873A2#2873A2

#2873A2 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.2% C 0.103 H 240.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2873A2
RGBrgb(40, 115, 162)
HSLhsl(203, 60%, 40%)
HSVhsv(203, 75%, 64%)
CMYKcmyk(75.3%, 29%, 0%, 36.5%)
CIE-LABlab(46.07, -6.50, -31.82)
CIE-LCHlch(46.07, 32.47, 258.45°)
OKLaboklab(53.18% -0.0508 -0.0899)
OKLCHoklch(53.18% 0.103 240.6)
XYZxyz(13.5248, 15.3197, 36.4196)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873A2 #A25728
analogous
#28A294 #2873A2 #2836A2
triadic
#2873A2 #A22873 #73A228
tetradic
#2873A2 #9428A2 #A25728 #36A228
square
#2873A2 #9428A2 #A25728 #36A228
split-complementary
#2873A2 #A22836 #A29428
monochromatic
#102D40 #1C5071 #2873A2 #3995CE #6AAFDA

Accessibility & contrast

On white

5.17
#2873A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2873A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873A2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873A2#FFFFFF#000000##FFFFFF
##2873A21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A4
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#007F83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2873a2;
/* rgb */ color: rgb(40, 115, 162);
/* oklch */ color: oklch(53.2% 0.103 240.6);
Tailwind
colors: {
  custom: {
    50: '#739bbd',
    500: '#2873a2',
    950: '#000000',
  },
}
SCSS
$custom: #2873a2;
$custom-light: #739bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2873a2",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 162
  },
  "hsl": {
    "h": 203.115,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53178,
    "c": 0.10327,
    "h": 240.6
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#2873A2
secondary
#C18865
accent
#8244E4
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2873A2

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

Preview Lab → · Contrast checker → · Palette generator →

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