#2D87B4#2D87B4

#2D87B4 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.107 H 234.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D87B4
RGBrgb(45, 135, 180)
HSLhsl(200, 60%, 44%)
HSVhsv(200, 75%, 71%)
CMYKcmyk(75%, 25%, 0%, 29.4%)
CIE-LABlab(53.14, -11.01, -31.19)
CIE-LCHlch(53.14, 33.08, 250.56°)
OKLaboklab(59.11% -0.0618 -0.0879)
OKLCHoklch(59.11% 0.107 234.9)
XYZxyz(17.9811, 21.1790, 46.3115)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D87B4 #B45A2D
analogous
#2DB49E #2D87B4 #2D44B4
triadic
#2D87B4 #B42D87 #87B42D
tetradic
#2D87B4 #9E2DB4 #B45A2D #44B42D
square
#2D87B4 #9E2DB4 #B45A2D #44B42D
split-complementary
#2D87B4 #B42D44 #B49E2D
monochromatic
#153E52 #216283 #2D87B4 #4CA5D2 #7DBEDE

Accessibility & contrast

On white

4.01
#2D87B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#2D87B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D87B4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D87B4#FFFFFF#000000##000000
##2D87B41.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7186B6
Deuteranopia (green-blind)
#5F79B3
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2d87b4;
/* rgb */ color: rgb(45, 135, 180);
/* oklch */ color: oklch(59.1% 0.107 234.9);
Tailwind
colors: {
  custom: {
    50: '#79a9ca',
    500: '#2d87b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d87b4;
$custom-light: #79a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d87b4",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 180
  },
  "hsl": {
    "h": 200,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59109,
    "c": 0.10743,
    "h": 234.9
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#2D87B4
secondary
#C79176
accent
#7945E3
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2D87B4

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

Preview Lab → · Contrast checker → · Palette generator →

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