#2874A1#2874A1

#2874A1 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.4% C 0.101 H 239.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2874A1
RGBrgb(40, 116, 161)
HSLhsl(202, 60%, 39%)
HSVhsv(202, 75%, 63%)
CMYKcmyk(75.2%, 28%, 0%, 36.9%)
CIE-LABlab(46.33, -7.46, -30.82)
CIE-LCHlch(46.33, 31.71, 256.40°)
OKLaboklab(53.37% -0.0521 -0.087)
OKLCHoklch(53.37% 0.101 239.1)
XYZxyz(13.5510, 15.5135, 35.9915)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874A1 #A15528
analogous
#28A192 #2874A1 #2838A1
triadic
#2874A1 #A12874 #74A128
tetradic
#2874A1 #9228A1 #A15528 #38A128
square
#2874A1 #9228A1 #A15528 #38A128
split-complementary
#2874A1 #A12838 #A19228
monochromatic
#102D3F #1C5170 #2874A1 #3996CE #6AB0DA

Accessibility & contrast

On white

5.12
#2874A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2874A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2874A1#FFFFFF#000000##FFFFFF
##2874A11.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A3
Deuteranopia (green-blind)
#4E69A0
Tritanopia (blue-blind)
#007F84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2874a1;
/* rgb */ color: rgb(40, 116, 161);
/* oklch */ color: oklch(53.4% 0.101 239.1);
Tailwind
colors: {
  custom: {
    50: '#739bbd',
    500: '#2874a1',
    950: '#000000',
  },
}
SCSS
$custom: #2874a1;
$custom-light: #739bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2874a1",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 161
  },
  "hsl": {
    "h": 202.314,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53369,
    "c": 0.10143,
    "h": 239.1
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#2874A1
secondary
#C08765
accent
#8044E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2874A1

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

Preview Lab → · Contrast checker → · Palette generator →

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