#2873AB#2873AB

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

Color values

HEX#2873AB
RGBrgb(40, 115, 171)
HSLhsl(206, 62%, 41%)
HSVhsv(206, 77%, 67%)
CMYKcmyk(76.6%, 32.7%, 0%, 32.9%)
CIE-LABlab(46.51, -3.19, -36.39)
CIE-LCHlch(46.51, 36.53, 264.99°)
OKLaboklab(53.68% -0.0479 -0.1033)
OKLCHoklch(53.68% 0.114 245.1)
XYZxyz(14.3537, 15.6512, 40.7847)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873AB #AB6028
analogous
#28ABA2 #2873AB #2832AB
triadic
#2873AB #AB2873 #73AB28
tetradic
#2873AB #A228AB #AB6028 #32AB28
square
#2873AB #A228AB #AB6028 #32AB28
split-complementary
#2873AB #AB2832 #ABA228
monochromatic
#113048 #1C5279 #2873AB #3E93D2 #70AFDE

Accessibility & contrast

On white

5.08
#2873AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2873AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873AB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873AB#FFFFFF#000000##FFFFFF
##2873AB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5975AD
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#008187
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2873ab;
/* rgb */ color: rgb(40, 115, 171);
/* oklch */ color: oklch(53.7% 0.114 245.1);
Tailwind
colors: {
  custom: {
    50: '#759bc4',
    500: '#2873ab',
    950: '#000000',
  },
}
SCSS
$custom: #2873ab;
$custom-light: #759bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2873ab",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 171
  },
  "hsl": {
    "h": 205.649,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53676,
    "c": 0.11383,
    "h": 245.1
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#2873AB
secondary
#C4916A
accent
#8843E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2873AB

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

Preview Lab → · Contrast checker → · Palette generator →

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