#2873B4#2873B4

#2873B4 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.2% C 0.125 H 248.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2873B4
RGBrgb(40, 115, 180)
HSLhsl(208, 64%, 43%)
HSVhsv(208, 78%, 71%)
CMYKcmyk(77.8%, 36.1%, 0%, 29.4%)
CIE-LABlab(46.98, 0.16, -40.89)
CIE-LCHlch(46.98, 40.89, 270.23°)
OKLaboklab(54.2% -0.0453 -0.1164)
OKLCHoklch(54.2% 0.125 248.7)
XYZxyz(15.2409, 16.0061, 45.4574)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873B4 #B46928
analogous
#28B4AF #2873B4 #282DB4
triadic
#2873B4 #B42873 #73B428
tetradic
#2873B4 #AF28B4 #B46928 #2DB428
square
#2873B4 #AF28B4 #B46928 #2DB428
split-complementary
#2873B4 #B4282D #B4AF28
monochromatic
#123350 #1D5382 #2873B4 #4492D5 #76AFE1

Accessibility & contrast

On white

5.00
#2873B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2873B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873B4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873B4#FFFFFF#000000##FFFFFF
##2873B41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5576B7
Deuteranopia (green-blind)
#406AB3
Tritanopia (blue-blind)
#00838B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2873b4;
/* rgb */ color: rgb(40, 115, 180);
/* oklch */ color: oklch(54.2% 0.125 248.7);
Tailwind
colors: {
  custom: {
    50: '#779acb',
    500: '#2873b4',
    950: '#000000',
  },
}
SCSS
$custom: #2873b4;
$custom-light: #779acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2873b4",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 180
  },
  "hsl": {
    "h": 207.857,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54198,
    "c": 0.12492,
    "h": 248.7
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#2873B4
secondary
#C89970
accent
#8E41E7
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2873B4

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

Preview Lab → · Contrast checker → · Palette generator →

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