#2873C4#2873C4

#2873C4 is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 55.2% C 0.145 H 253.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2873C4
RGBrgb(40, 115, 196)
HSLhsl(211, 66%, 46%)
HSVhsv(211, 80%, 77%)
CMYKcmyk(79.6%, 41.3%, 0%, 23.1%)
CIE-LABlab(47.87, 6.20, -48.71)
CIE-LCHlch(47.87, 49.10, 277.26°)
OKLaboklab(55.19% -0.0413 -0.1393)
OKLCHoklch(55.19% 0.145 253.5)
XYZxyz(16.9659, 16.6961, 54.5423)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873C4 #C47928
analogous
#28C1C4 #2873C4 #2B28C4
triadic
#2873C4 #C42873 #73C428
tetradic
#2873C4 #C428C1 #C47928 #28C42B
square
#2873C4 #C428C1 #C47928 #28C42B
split-complementary
#2873C4 #C42B28 #C1C428
monochromatic
#13375E #1E5591 #2873C4 #4E92DB #81B1E5

Accessibility & contrast

On white

4.84
#2873C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2873C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873C4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873C4#FFFFFF#000000##FFFFFF
##2873C41.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C7
Deuteranopia (green-blind)
#306BC2
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2873c4;
/* rgb */ color: rgb(40, 115, 196);
/* oklch */ color: oklch(55.2% 0.145 253.5);
Tailwind
colors: {
  custom: {
    50: '#7a9ad6',
    500: '#2873c4',
    950: '#000000',
  },
}
SCSS
$custom: #2873c4;
$custom-light: #7a9ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#2873c4",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 196
  },
  "hsl": {
    "h": 211.154,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55186,
    "c": 0.14536,
    "h": 253.5
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#2873C4
secondary
#CEA67A
accent
#973FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2873C4

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

Preview Lab → · Contrast checker → · Palette generator →

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