#2874A2#2874A2

#2874A2 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.4% C 0.103 H 239.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2874A2
RGBrgb(40, 116, 162)
HSLhsl(203, 60%, 40%)
HSVhsv(203, 75%, 64%)
CMYKcmyk(75.3%, 28.4%, 0%, 36.5%)
CIE-LABlab(46.38, -7.09, -31.33)
CIE-LCHlch(46.38, 32.13, 257.24°)
OKLaboklab(53.42% -0.0517 -0.0885)
OKLCHoklch(53.42% 0.103 239.7)
XYZxyz(13.6395, 15.5490, 36.4578)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874A2 #A25628
analogous
#28A293 #2874A2 #2837A2
triadic
#2874A2 #A22874 #74A228
tetradic
#2874A2 #9328A2 #A25628 #37A228
square
#2874A2 #9328A2 #A25628 #37A228
split-complementary
#2874A2 #A22837 #A29328
monochromatic
#102E40 #1C5171 #2874A2 #3996CE #6AB0DA

Accessibility & contrast

On white

5.11
#2874A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2874A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2874A2#FFFFFF#000000##FFFFFF
##2874A21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#008084
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2874a2;
/* rgb */ color: rgb(40, 116, 162);
/* oklch */ color: oklch(53.4% 0.103 239.7);
Tailwind
colors: {
  custom: {
    50: '#739bbd',
    500: '#2874a2',
    950: '#000000',
  },
}
SCSS
$custom: #2874a2;
$custom-light: #739bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2874a2",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 162
  },
  "hsl": {
    "h": 202.623,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53423,
    "c": 0.10254,
    "h": 239.7
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#2874A2
secondary
#C18865
accent
#8044E4
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2874A2

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

Preview Lab → · Contrast checker → · Palette generator →

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