#2873BD#2873BD

#2873BD is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 54.7% C 0.136 H 251.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2873BD
RGBrgb(40, 115, 189)
HSLhsl(210, 65%, 45%)
HSVhsv(210, 79%, 74%)
CMYKcmyk(78.8%, 39.2%, 0%, 25.9%)
CIE-LABlab(47.48, 3.55, -45.32)
CIE-LCHlch(47.48, 45.45, 274.48°)
OKLaboklab(54.75% -0.043 -0.1294)
OKLCHoklch(54.75% 0.136 251.6)
XYZxyz(16.1876, 16.3848, 50.4437)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873BD #BD7228
analogous
#28BDBD #2873BD #2828BD
triadic
#2873BD #BD2873 #73BD28
tetradic
#2873BD #BD28BD #BD7228 #28BD28
square
#2873BD #BD28BD #BD7228 #28BD28
split-complementary
#2873BD #BD2828 #BDBD28
monochromatic
#133658 #1D548A #2873BD #4A92D9 #7CB0E3

Accessibility & contrast

On white

4.91
#2873BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2873BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873BD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873BD#FFFFFF#000000##FFFFFF
##2873BD1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#386ABC
Tritanopia (blue-blind)
#00858F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2873bd;
/* rgb */ color: rgb(40, 115, 189);
/* oklch */ color: oklch(54.7% 0.136 251.6);
Tailwind
colors: {
  custom: {
    50: '#799ad1',
    500: '#2873bd',
    950: '#000000',
  },
}
SCSS
$custom: #2873bd;
$custom-light: #799ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2873bd",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 209.799,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.13634,
    "h": 251.6
  },
  "luminance": 0.16387
}

Semantic roles & 50–950 ramp

primary
#2873BD
secondary
#CBA075
accent
#9340E8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #2873BD

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

Preview Lab → · Contrast checker → · Palette generator →

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