#2874A3#2874A3

#2874A3 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.5% C 0.104 H 240.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2874A3
RGBrgb(40, 116, 163)
HSLhsl(203, 61%, 40%)
HSVhsv(203, 75%, 64%)
CMYKcmyk(75.5%, 28.8%, 0%, 36.1%)
CIE-LABlab(46.42, -6.73, -31.85)
CIE-LCHlch(46.42, 32.55, 258.07°)
OKLaboklab(53.48% -0.0514 -0.09)
OKLCHoklch(53.48% 0.104 240.3)
XYZxyz(13.7287, 15.5846, 36.9278)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874A3 #A35728
analogous
#28A395 #2874A3 #2836A3
triadic
#2874A3 #A32874 #74A328
tetradic
#2874A3 #9528A3 #A35728 #36A328
square
#2874A3 #9528A3 #A35728 #36A328
split-complementary
#2874A3 #A32836 #A39528
monochromatic
#102E41 #1C5172 #2874A3 #3A96CF #6BB0DB

Accessibility & contrast

On white

5.10
#2874A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2874A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2874A3#FFFFFF#000000##FFFFFF
##2874A31.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2874a3;
/* rgb */ color: rgb(40, 116, 163);
/* oklch */ color: oklch(53.5% 0.104 240.3);
Tailwind
colors: {
  custom: {
    50: '#739bbe',
    500: '#2874a3',
    950: '#000000',
  },
}
SCSS
$custom: #2874a3;
$custom-light: #739bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2874a3",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 163
  },
  "hsl": {
    "h": 202.927,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53476,
    "c": 0.10367,
    "h": 240.3
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#2874A3
secondary
#C18966
accent
#8144E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2874A3

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

Preview Lab → · Contrast checker → · Palette generator →

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