#2873AA#2873AA

#2873AA is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.6% C 0.113 H 244.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2873AA
RGBrgb(40, 115, 170)
HSLhsl(205, 62%, 41%)
HSVhsv(205, 76%, 67%)
CMYKcmyk(76.5%, 32.4%, 0%, 33.3%)
CIE-LABlab(46.46, -3.56, -35.88)
CIE-LCHlch(46.46, 36.06, 264.33°)
OKLaboklab(53.62% -0.0482 -0.1018)
OKLCHoklch(53.62% 0.113 244.7)
XYZxyz(14.2587, 15.6132, 40.2846)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2873AA #AA5F28
analogous
#28AAA0 #2873AA #2832AA
triadic
#2873AA #AA2873 #73AA28
tetradic
#2873AA #A028AA #AA5F28 #32AA28
square
#2873AA #A028AA #AA5F28 #32AA28
split-complementary
#2873AA #AA2832 #AAA028
monochromatic
#113047 #1C5178 #2873AA #3E93D2 #6FAFDD

Accessibility & contrast

On white

5.09
#2873AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2873AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2873AA#FFFFFF#000000##FFFFFF
##2873AA1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AC
Deuteranopia (green-blind)
#4769A9
Tritanopia (blue-blind)
#008087
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2873aa;
/* rgb */ color: rgb(40, 115, 170);
/* oklch */ color: oklch(53.6% 0.113 244.7);
Tailwind
colors: {
  custom: {
    50: '#759bc3',
    500: '#2873aa',
    950: '#000000',
  },
}
SCSS
$custom: #2873aa;
$custom-light: #759bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2873aa",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 170
  },
  "hsl": {
    "h": 205.385,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53619,
    "c": 0.11263,
    "h": 244.7
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#2873AA
secondary
#C4906A
accent
#8743E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2873AA

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

Preview Lab → · Contrast checker → · Palette generator →

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