#2874AE#2874AE

#2874AE is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.1% C 0.117 H 245.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2874AE
RGBrgb(40, 116, 174)
HSLhsl(206, 63%, 42%)
HSVhsv(206, 77%, 68%)
CMYKcmyk(77%, 33.3%, 0%, 31.8%)
CIE-LABlab(46.97, -2.68, -37.42)
CIE-LCHlch(46.97, 37.52, 265.90°)
OKLaboklab(54.09% -0.0479 -0.1062)
OKLCHoklch(54.09% 0.117 245.7)
XYZxyz(14.7575, 15.9962, 42.3460)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2874AE #AE6228
analogous
#28AEA5 #2874AE #2831AE
triadic
#2874AE #AE2874 #74AE28
tetradic
#2874AE #A528AE #AE6228 #31AE28
square
#2874AE #A528AE #AE6228 #31AE28
split-complementary
#2874AE #AE2831 #AEA528
monochromatic
#11324A #1D537C #2874AE #4093D3 #72B0DF

Accessibility & contrast

On white

5.00
#2874AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2874AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2874AE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2874AE#FFFFFF#000000##FFFFFF
##2874AE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5976B0
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#008289
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2874ae;
/* rgb */ color: rgb(40, 116, 174);
/* oklch */ color: oklch(54.1% 0.117 245.7);
Tailwind
colors: {
  custom: {
    50: '#769bc6',
    500: '#2874ae',
    950: '#000000',
  },
}
SCSS
$custom: #2874ae;
$custom-light: #769bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2874ae",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 174
  },
  "hsl": {
    "h": 205.97,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54085,
    "c": 0.11657,
    "h": 245.7
  },
  "luminance": 0.15998
}

Semantic roles & 50–950 ramp

primary
#2874AE
secondary
#C6936C
accent
#8942E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2874AE

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

Preview Lab → · Contrast checker → · Palette generator →

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