#2873A1#2873A1

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

Color values

HEX#2873A1
RGBrgb(40, 115, 161)
HSLhsl(203, 60%, 39%)
HSVhsv(203, 75%, 63%)
CMYKcmyk(75.2%, 28.6%, 0%, 36.9%)
CIE-LABlab(46.02, -6.87, -31.30)
CIE-LCHlch(46.02, 32.05, 257.63°)
OKLaboklab(53.13% -0.0511 -0.0885)
OKLCHoklch(53.13% 0.102 240)
XYZxyz(13.4363, 15.2842, 35.9533)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873A1 #A15628
analogous
#28A193 #2873A1 #2837A1
triadic
#2873A1 #A12873 #73A128
tetradic
#2873A1 #9328A1 #A15628 #37A128
square
#2873A1 #9328A1 #A15628 #37A128
split-complementary
#2873A1 #A12837 #A19328
monochromatic
#102D3F #1C5070 #2873A1 #3995CE #6AAFDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2873A1#FFFFFF#000000##FFFFFF
##2873A11.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2873a1;
/* rgb */ color: rgb(40, 115, 161);
/* oklch */ color: oklch(53.1% 0.102 240.0);
Tailwind
colors: {
  custom: {
    50: '#739bbd',
    500: '#2873a1',
    950: '#000000',
  },
}
SCSS
$custom: #2873a1;
$custom-light: #739bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2873a1",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 161
  },
  "hsl": {
    "h": 202.81,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.10215,
    "h": 240
  },
  "luminance": 0.15286
}

Semantic roles & 50–950 ramp

primary
#2873A1
secondary
#C08765
accent
#8144E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2873A1

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

Preview Lab → · Contrast checker → · Palette generator →

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