#2873A8#2873A8

#2873A8 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.5% C 0.110 H 243.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2873A8
RGBrgb(40, 115, 168)
HSLhsl(205, 62%, 41%)
HSVhsv(205, 76%, 66%)
CMYKcmyk(76.2%, 31.5%, 0%, 34.1%)
CIE-LABlab(46.36, -4.30, -34.87)
CIE-LCHlch(46.36, 35.14, 262.97°)
OKLaboklab(53.51% -0.0488 -0.0988)
OKLCHoklch(53.51% 0.11 243.7)
XYZxyz(14.0710, 15.5381, 39.2958)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873A8 #A85D28
analogous
#28A89D #2873A8 #2833A8
triadic
#2873A8 #A82873 #73A828
tetradic
#2873A8 #9D28A8 #A85D28 #33A828
square
#2873A8 #9D28A8 #A85D28 #33A828
split-complementary
#2873A8 #A82833 #A89D28
monochromatic
#102F45 #1C5177 #2873A8 #3D93D1 #6EAFDC

Accessibility & contrast

On white

5.11
#2873A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2873A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873A8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873A8#FFFFFF#000000##FFFFFF
##2873A81.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B74AA
Deuteranopia (green-blind)
#4968A7
Tritanopia (blue-blind)
#008086
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2873a8;
/* rgb */ color: rgb(40, 115, 168);
/* oklch */ color: oklch(53.5% 0.110 243.7);
Tailwind
colors: {
  custom: {
    50: '#749bc2',
    500: '#2873a8',
    950: '#000000',
  },
}
SCSS
$custom: #2873a8;
$custom-light: #749bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2873a8",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 168
  },
  "hsl": {
    "h": 204.844,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53507,
    "c": 0.11024,
    "h": 243.7
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#2873A8
secondary
#C38E69
accent
#8643E5
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2873A8

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

Preview Lab → · Contrast checker → · Palette generator →

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