#2874A5#2874A5

#2874A5 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.6% C 0.106 H 241.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2874A5
RGBrgb(40, 116, 165)
HSLhsl(204, 61%, 40%)
HSVhsv(204, 76%, 65%)
CMYKcmyk(75.8%, 29.7%, 0%, 35.3%)
CIE-LABlab(46.52, -6.00, -32.87)
CIE-LCHlch(46.52, 33.41, 259.65°)
OKLaboklab(53.58% -0.0508 -0.093)
OKLCHoklch(53.58% 0.106 241.4)
XYZxyz(13.9093, 15.6569, 37.8790)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874A5 #A55928
analogous
#28A598 #2874A5 #2835A5
triadic
#2874A5 #A52874 #74A528
tetradic
#2874A5 #9828A5 #A55928 #35A528
square
#2874A5 #9828A5 #A55928 #35A528
split-complementary
#2874A5 #A52835 #A59828
monochromatic
#102F42 #1C5174 #2874A5 #3B95CF #6CB0DB

Accessibility & contrast

On white

5.08
#2874A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2874A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2874A5#FFFFFF#000000##FFFFFF
##2874A51.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A7
Deuteranopia (green-blind)
#4C69A4
Tritanopia (blue-blind)
#008085
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2874a5;
/* rgb */ color: rgb(40, 116, 165);
/* oklch */ color: oklch(53.6% 0.106 241.4);
Tailwind
colors: {
  custom: {
    50: '#749bc0',
    500: '#2874a5',
    950: '#000000',
  },
}
SCSS
$custom: #2874a5;
$custom-light: #749bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2874a5",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 165
  },
  "hsl": {
    "h": 203.52,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.53584,
    "c": 0.10594,
    "h": 241.4
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#2874A5
secondary
#C28B67
accent
#8344E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2874A5

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

Preview Lab → · Contrast checker → · Palette generator →

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