#2874A0#2874A0

#2874A0 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.3% C 0.100 H 238.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2874A0
RGBrgb(40, 116, 160)
HSLhsl(202, 60%, 39%)
HSVhsv(202, 75%, 63%)
CMYKcmyk(75%, 27.5%, 0%, 37.3%)
CIE-LABlab(46.28, -7.82, -30.31)
CIE-LCHlch(46.28, 31.30, 255.53°)
OKLaboklab(53.32% -0.0524 -0.0855)
OKLCHoklch(53.32% 0.1 238.5)
XYZxyz(13.4631, 15.4784, 35.5290)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874A0 #A05428
analogous
#28A090 #2874A0 #2838A0
triadic
#2874A0 #A02874 #74A028
tetradic
#2874A0 #9028A0 #A05428 #38A028
square
#2874A0 #9028A0 #A05428 #38A028
split-complementary
#2874A0 #A02838 #A09028
monochromatic
#102D3E #1C516F #2874A0 #3897CD #69B0D9

Accessibility & contrast

On white

5.13
#2874A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2874A0#FFFFFF#000000##FFFFFF
##2874A01.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A2
Deuteranopia (green-blind)
#4F699F
Tritanopia (blue-blind)
#007F83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2874a0;
/* rgb */ color: rgb(40, 116, 160);
/* oklch */ color: oklch(53.3% 0.100 238.5);
Tailwind
colors: {
  custom: {
    50: '#739bbc',
    500: '#2874a0',
    950: '#000000',
  },
}
SCSS
$custom: #2874a0;
$custom-light: #739bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2874a0",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 160
  },
  "hsl": {
    "h": 202,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.10033,
    "h": 238.5
  },
  "luminance": 0.1548
}

Semantic roles & 50–950 ramp

primary
#2874A0
secondary
#C08664
accent
#7F45E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2874A0

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

Preview Lab → · Contrast checker → · Palette generator →

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