#2873A5#2873A5

#2873A5 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.3% C 0.107 H 242.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2873A5
RGBrgb(40, 115, 165)
HSLhsl(204, 61%, 40%)
HSVhsv(204, 76%, 65%)
CMYKcmyk(75.8%, 30.3%, 0%, 35.3%)
CIE-LABlab(46.21, -5.40, -33.35)
CIE-LCHlch(46.21, 33.78, 260.80°)
OKLaboklab(53.34% -0.0498 -0.0944)
OKLCHoklch(53.34% 0.107 242.2)
XYZxyz(13.7947, 15.4276, 37.8408)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873A5 #A55A28
analogous
#28A599 #2873A5 #2834A5
triadic
#2873A5 #A52873 #73A528
tetradic
#2873A5 #9928A5 #A55A28 #34A528
square
#2873A5 #9928A5 #A55A28 #34A528
split-complementary
#2873A5 #A52834 #A59928
monochromatic
#102E42 #1C5174 #2873A5 #3B94CF #6CAFDB

Accessibility & contrast

On white

5.14
#2873A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2873A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873A5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873A5#FFFFFF#000000##FFFFFF
##2873A51.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A7
Deuteranopia (green-blind)
#4B68A4
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2873a5;
/* rgb */ color: rgb(40, 115, 165);
/* oklch */ color: oklch(53.3% 0.107 242.2);
Tailwind
colors: {
  custom: {
    50: '#749bc0',
    500: '#2873a5',
    950: '#000000',
  },
}
SCSS
$custom: #2873a5;
$custom-light: #749bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2873a5",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 165
  },
  "hsl": {
    "h": 204,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.53341,
    "c": 0.10672,
    "h": 242.2
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

primary
#2873A5
secondary
#C28B67
accent
#8444E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2873A5

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

Preview Lab → · Contrast checker → · Palette generator →

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