#2D87B3#2D87B3

#2D87B3 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.1% C 0.106 H 234.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2D87B3
RGBrgb(45, 135, 179)
HSLhsl(200, 60%, 44%)
HSVhsv(200, 75%, 70%)
CMYKcmyk(74.9%, 24.6%, 0%, 29.8%)
CIE-LABlab(53.10, -11.36, -30.69)
CIE-LCHlch(53.10, 32.72, 249.69°)
OKLaboklab(59.06% -0.0621 -0.0864)
OKLCHoklch(59.06% 0.106 234.3)
XYZxyz(17.8796, 21.1384, 45.7769)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D87B3 #B3592D
analogous
#2DB39C #2D87B3 #2D44B3
triadic
#2D87B3 #B32D87 #87B32D
tetradic
#2D87B3 #9C2DB3 #B3592D #44B32D
square
#2D87B3 #9C2DB3 #B3592D #44B32D
split-complementary
#2D87B3 #B32D44 #B39C2D
monochromatic
#143D51 #216282 #2D87B3 #4BA6D2 #7CBEDE

Accessibility & contrast

On white

4.02
#2D87B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#2D87B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D87B3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D87B3#FFFFFF#000000##000000
##2D87B31.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d87b3;
/* rgb */ color: rgb(45, 135, 179);
/* oklch */ color: oklch(59.1% 0.106 234.3);
Tailwind
colors: {
  custom: {
    50: '#79a9ca',
    500: '#2d87b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d87b3;
$custom-light: #79a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d87b3",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 179
  },
  "hsl": {
    "h": 199.701,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59059,
    "c": 0.10644,
    "h": 234.3
  },
  "luminance": 0.21141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D87B3

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

Preview Lab → · Contrast checker → · Palette generator →

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