#2874AD#2874AD

#2874AD is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.0% C 0.115 H 245.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2874AD
RGBrgb(40, 116, 173)
HSLhsl(206, 62%, 42%)
HSVhsv(206, 77%, 68%)
CMYKcmyk(76.9%, 32.9%, 0%, 32.2%)
CIE-LABlab(46.92, -3.05, -36.92)
CIE-LCHlch(46.92, 37.04, 265.27°)
OKLaboklab(54.03% -0.0482 -0.1048)
OKLCHoklch(54.03% 0.115 245.3)
XYZxyz(14.6604, 15.9573, 41.8345)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874AD #AD6128
analogous
#28ADA4 #2874AD #2832AD
triadic
#2874AD #AD2874 #74AD28
tetradic
#2874AD #A428AD #AD6128 #32AD28
square
#2874AD #A428AD #AD6128 #32AD28
split-complementary
#2874AD #AD2832 #ADA428
monochromatic
#11314A #1D537B #2874AD #3F94D3 #71AFDE

Accessibility & contrast

On white

5.01
#2874AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2874AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2874AD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2874AD#FFFFFF#000000##FFFFFF
##2874AD1.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)
#5A76AF
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#008288
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2874ad;
/* rgb */ color: rgb(40, 116, 173);
/* oklch */ color: oklch(54.0% 0.115 245.3);
Tailwind
colors: {
  custom: {
    50: '#759bc5',
    500: '#2874ad',
    950: '#000000',
  },
}
SCSS
$custom: #2874ad;
$custom-light: #759bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2874ad",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 173
  },
  "hsl": {
    "h": 205.714,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.11536,
    "h": 245.3
  },
  "luminance": 0.15959
}

Semantic roles & 50–950 ramp

primary
#2874AD
secondary
#C5926C
accent
#8842E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2874AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2874AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva