#2874AB#2874AB

#2874AB is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.9% C 0.113 H 244.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2874AB
RGBrgb(40, 116, 171)
HSLhsl(205, 62%, 41%)
HSVhsv(205, 77%, 67%)
CMYKcmyk(76.6%, 32.2%, 0%, 32.9%)
CIE-LABlab(46.82, -3.79, -35.91)
CIE-LCHlch(46.82, 36.11, 263.97°)
OKLaboklab(53.92% -0.0488 -0.1018)
OKLCHoklch(53.92% 0.113 244.4)
XYZxyz(14.4683, 15.8805, 40.8229)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874AB #AB5F28
analogous
#28ABA1 #2874AB #2833AB
triadic
#2874AB #AB2874 #74AB28
tetradic
#2874AB #A128AB #AB5F28 #33AB28
square
#2874AB #A128AB #AB5F28 #33AB28
split-complementary
#2874AB #AB2833 #ABA128
monochromatic
#113148 #1C5279 #2874AB #3E94D2 #70AFDE

Accessibility & contrast

On white

5.03
#2874AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2874AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2874AB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2874AB#FFFFFF#000000##FFFFFF
##2874AB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AD
Deuteranopia (green-blind)
#486AAA
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2874ab;
/* rgb */ color: rgb(40, 116, 171);
/* oklch */ color: oklch(53.9% 0.113 244.4);
Tailwind
colors: {
  custom: {
    50: '#759bc4',
    500: '#2874ab',
    950: '#000000',
  },
}
SCSS
$custom: #2874ab;
$custom-light: #759bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2874ab",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 171
  },
  "hsl": {
    "h": 205.191,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.11296,
    "h": 244.4
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#2874AB
secondary
#C4906A
accent
#8743E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2874AB

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

Preview Lab → · Contrast checker → · Palette generator →

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