#2874AA#2874AA

#2874AA is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.9% C 0.112 H 243.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2874AA
RGBrgb(40, 116, 170)
HSLhsl(205, 62%, 41%)
HSVhsv(205, 76%, 67%)
CMYKcmyk(76.5%, 31.8%, 0%, 33.3%)
CIE-LABlab(46.77, -4.16, -35.40)
CIE-LCHlch(46.77, 35.65, 263.29°)
OKLaboklab(53.86% -0.0492 -0.1004)
OKLCHoklch(53.86% 0.112 243.9)
XYZxyz(14.3734, 15.8425, 40.3228)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874AA #AA5E28
analogous
#28AA9F #2874AA #2833AA
triadic
#2874AA #AA2874 #74AA28
tetradic
#2874AA #9F28AA #AA5E28 #33AA28
square
#2874AA #9F28AA #AA5E28 #33AA28
split-complementary
#2874AA #AA2833 #AA9F28
monochromatic
#113047 #1C5278 #2874AA #3E94D2 #6FB0DD

Accessibility & contrast

On white

5.04
#2874AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2874AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2874AA#FFFFFF#000000##FFFFFF
##2874AA1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AC
Deuteranopia (green-blind)
#4969A9
Tritanopia (blue-blind)
#008187
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2874aa;
/* rgb */ color: rgb(40, 116, 170);
/* oklch */ color: oklch(53.9% 0.112 243.9);
Tailwind
colors: {
  custom: {
    50: '#759bc3',
    500: '#2874aa',
    950: '#000000',
  },
}
SCSS
$custom: #2874aa;
$custom-light: #759bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2874aa",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 170
  },
  "hsl": {
    "h": 204.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.11176,
    "h": 243.9
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#2874AA
secondary
#C48F6A
accent
#8643E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2874AA

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

Preview Lab → · Contrast checker → · Palette generator →

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