#2870AE#2870AE

#2870AE is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.120 H 248.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2870AE
RGBrgb(40, 112, 174)
HSLhsl(208, 63%, 42%)
HSVhsv(208, 77%, 68%)
CMYKcmyk(77%, 35.6%, 0%, 31.8%)
CIE-LABlab(45.76, -0.25, -39.33)
CIE-LCHlch(45.76, 39.33, 269.64°)
OKLaboklab(53.14% -0.0442 -0.1119)
OKLCHoklch(53.14% 0.12 248.4)
XYZxyz(14.3063, 15.0938, 42.1956)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2870AE #AE6628
analogous
#28AEA9 #2870AE #282DAE
triadic
#2870AE #AE2870 #70AE28
tetradic
#2870AE #A928AE #AE6628 #2DAE28
square
#2870AE #A928AE #AE6628 #2DAE28
split-complementary
#2870AE #AE282D #AEA928
monochromatic
#11304A #1D507C #2870AE #408FD3 #72ACDF

Accessibility & contrast

On white

5.23
#2870AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2870AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2870AE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2870AE#FFFFFF#000000##FFFFFF
##2870AE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5373B1
Deuteranopia (green-blind)
#4067AD
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2870ae;
/* rgb */ color: rgb(40, 112, 174);
/* oklch */ color: oklch(53.1% 0.120 248.4);
Tailwind
colors: {
  custom: {
    50: '#7598c6',
    500: '#2870ae',
    950: '#000000',
  },
}
SCSS
$custom: #2870ae;
$custom-light: #7598c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2870ae",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 174
  },
  "hsl": {
    "h": 207.761,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.1203,
    "h": 248.4
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#2870AE
secondary
#C6966C
accent
#8E42E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2870AE

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

Preview Lab → · Contrast checker → · Palette generator →

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