#2D87AE#2D87AE

#2D87AE is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.102 H 231.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2D87AE
RGBrgb(45, 135, 174)
HSLhsl(198, 59%, 43%)
HSVhsv(198, 74%, 68%)
CMYKcmyk(74.1%, 22.4%, 0%, 31.8%)
CIE-LABlab(52.88, -13.10, -28.15)
CIE-LCHlch(52.88, 31.05, 245.05°)
OKLaboklab(58.81% -0.0639 -0.0791)
OKLCHoklch(58.81% 0.102 231.1)
XYZxyz(17.3831, 20.9398, 43.1618)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D87AE #AE542D
analogous
#2DAE95 #2D87AE #2D46AE
triadic
#2D87AE #AE2D87 #87AE2D
tetradic
#2D87AE #952DAE #AE542D #46AE2D
square
#2D87AE #952DAE #AE542D #46AE2D
split-complementary
#2D87AE #AE2D46 #AE952D
monochromatic
#143C4D #20617D #2D87AE #48A7D0 #79BEDC

Accessibility & contrast

On white

4.05
#2D87AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2D87AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D87AE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D87AE#FFFFFF#000000##000000
##2D87AE1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B0
Deuteranopia (green-blind)
#6279AD
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2d87ae;
/* rgb */ color: rgb(45, 135, 174);
/* oklch */ color: oklch(58.8% 0.102 231.1);
Tailwind
colors: {
  custom: {
    50: '#78aac6',
    500: '#2d87ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d87ae;
$custom-light: #78aac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d87ae",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 198.14,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.10171,
    "h": 231.1
  },
  "luminance": 0.20942
}

Semantic roles & 50–950 ramp

primary
#2D87AE
secondary
#C48B72
accent
#7546E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2D87AE

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

Preview Lab → · Contrast checker → · Palette generator →

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