#2870A3#2870A3

#2870A3 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.5% C 0.107 H 243.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2870A3
RGBrgb(40, 112, 163)
HSLhsl(205, 61%, 40%)
HSVhsv(205, 75%, 64%)
CMYKcmyk(75.5%, 31.3%, 0%, 36.1%)
CIE-LABlab(45.20, -4.34, -33.77)
CIE-LCHlch(45.20, 34.05, 262.68°)
OKLaboklab(52.5% -0.0475 -0.0957)
OKLCHoklch(52.5% 0.107 243.6)
XYZxyz(13.2775, 14.6823, 36.7774)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2870A3 #A35B28
analogous
#28A399 #2870A3 #2833A3
triadic
#2870A3 #A32870 #70A328
tetradic
#2870A3 #9928A3 #A35B28 #33A328
square
#2870A3 #9928A3 #A35B28 #33A328
split-complementary
#2870A3 #A32833 #A39928
monochromatic
#102C41 #1C4E72 #2870A3 #3A91CF #6BACDB

Accessibility & contrast

On white

5.33
#2870A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2870A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2870A3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2870A3#FFFFFF#000000##FFFFFF
##2870A31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A5
Deuteranopia (green-blind)
#4766A2
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2870a3;
/* rgb */ color: rgb(40, 112, 163);
/* oklch */ color: oklch(52.5% 0.107 243.6);
Tailwind
colors: {
  custom: {
    50: '#7398be',
    500: '#2870a3',
    950: '#000000',
  },
}
SCSS
$custom: #2870a3;
$custom-light: #7398be;
$custom-dark: #000000;
JSON
{
  "hex": "#2870a3",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 163
  },
  "hsl": {
    "h": 204.878,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.1068,
    "h": 243.6
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#2870A3
secondary
#C18C66
accent
#8644E4
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2870A3

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

Preview Lab → · Contrast checker → · Palette generator →

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