#2873B3#2873B3

#2873B3 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.1% C 0.124 H 248.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2873B3
RGBrgb(40, 115, 179)
HSLhsl(208, 63%, 43%)
HSVhsv(208, 78%, 70%)
CMYKcmyk(77.7%, 35.8%, 0%, 29.8%)
CIE-LABlab(46.93, -0.21, -40.39)
CIE-LCHlch(46.93, 40.39, 269.70°)
OKLaboklab(54.14% -0.0456 -0.115)
OKLCHoklch(54.14% 0.124 248.4)
XYZxyz(15.1394, 15.9655, 44.9228)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873B3 #B36828
analogous
#28B3AD #2873B3 #282DB3
triadic
#2873B3 #B32873 #73B328
tetradic
#2873B3 #AD28B3 #B36828 #2DB328
square
#2873B3 #AD28B3 #B36828 #2DB328
split-complementary
#2873B3 #B3282D #B3AD28
monochromatic
#12334F #1D5381 #2873B3 #4392D5 #75AFE0

Accessibility & contrast

On white

5.01
#2873B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2873B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2873B3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2873B3#FFFFFF#000000##FFFFFF
##2873B31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5576B6
Deuteranopia (green-blind)
#4169B2
Tritanopia (blue-blind)
#00828A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2873b3;
/* rgb */ color: rgb(40, 115, 179);
/* oklch */ color: oklch(54.1% 0.124 248.4);
Tailwind
colors: {
  custom: {
    50: '#769aca',
    500: '#2873b3',
    950: '#000000',
  },
}
SCSS
$custom: #2873b3;
$custom-light: #769aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2873b3",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 179
  },
  "hsl": {
    "h": 207.626,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54139,
    "c": 0.12367,
    "h": 248.4
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#2873B3
secondary
#C8986F
accent
#8D41E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2873B3

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

Preview Lab → · Contrast checker → · Palette generator →

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