#2D87A3#2D87A3

#2D87A3 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.3% C 0.093 H 222.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2D87A3
RGBrgb(45, 135, 163)
HSLhsl(194, 57%, 41%)
HSVhsv(194, 72%, 64%)
CMYKcmyk(72.4%, 17.2%, 0%, 36.1%)
CIE-LABlab(52.43, -16.85, -22.51)
CIE-LCHlch(52.43, 28.12, 233.18°)
OKLaboklab(58.3% -0.0681 -0.063)
OKLCHoklch(58.3% 0.093 222.7)
XYZxyz(16.3543, 20.5283, 37.7437)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D87A3 #A3492D
analogous
#2DA384 #2D87A3 #2D4CA3
triadic
#2D87A3 #A32D87 #87A32D
tetradic
#2D87A3 #842DA3 #A3492D #4CA32D
square
#2D87A3 #842DA3 #A3492D #4CA32D
split-complementary
#2D87A3 #A32D4C #A3842D
monochromatic
#133843 #205F73 #2D87A3 #42AACB #72C0D8

Accessibility & contrast

On white

4.11
#2D87A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2D87A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D87A3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D87A3#FFFFFF#000000##000000
##2D87A31.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A4
Deuteranopia (green-blind)
#6778A3
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d87a3;
/* rgb */ color: rgb(45, 135, 163);
/* oklch */ color: oklch(58.3% 0.093 222.7);
Tailwind
colors: {
  custom: {
    50: '#76aabe',
    500: '#2d87a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d87a3;
$custom-light: #76aabe;
$custom-dark: #000000;
JSON
{
  "hex": "#2d87a3",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 163
  },
  "hsl": {
    "h": 194.237,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58301,
    "c": 0.09274,
    "h": 222.7
  },
  "luminance": 0.2053
}

Semantic roles & 50–950 ramp

primary
#2D87A3
secondary
#C0806C
accent
#6C48E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2D87A3

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

Preview Lab → · Contrast checker → · Palette generator →

#2D87A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva