#2D87A4#2D87A4

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

Color values

HEX#2D87A4
RGBrgb(45, 135, 164)
HSLhsl(195, 57%, 41%)
HSVhsv(195, 73%, 64%)
CMYKcmyk(72.6%, 17.7%, 0%, 35.7%)
CIE-LABlab(52.47, -16.52, -23.03)
CIE-LCHlch(52.47, 28.34, 234.35°)
OKLaboklab(58.35% -0.0677 -0.0644)
OKLCHoklch(58.35% 0.093 223.6)
XYZxyz(16.4442, 20.5643, 38.2174)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D87A4 #A44A2D
analogous
#2DA485 #2D87A4 #2D4BA4
triadic
#2D87A4 #A42D87 #87A42D
tetradic
#2D87A4 #852DA4 #A44A2D #4BA42D
square
#2D87A4 #852DA4 #A44A2D #4BA42D
split-complementary
#2D87A4 #A42D4B #A4852D
monochromatic
#133844 #205F74 #2D87A4 #43AACB #73C0D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D87A4#FFFFFF#000000##000000
##2D87A41.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)
#7784A5
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d87a4;
/* rgb */ color: rgb(45, 135, 164);
/* oklch */ color: oklch(58.3% 0.093 223.6);
Tailwind
colors: {
  custom: {
    50: '#77aabf',
    500: '#2d87a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d87a4;
$custom-light: #77aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d87a4",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 164
  },
  "hsl": {
    "h": 194.622,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.09346,
    "h": 223.6
  },
  "luminance": 0.20566
}

Semantic roles & 50–950 ramp

primary
#2D87A4
secondary
#C0816D
accent
#6D48E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2D87A4

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

Preview Lab → · Contrast checker → · Palette generator →

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