#2D87CE#2D87CE

#2D87CE is a mid, vivid cyan. Relative luminance 0.223; OKLCH L 60.5% C 0.136 H 246.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2D87CE
RGBrgb(45, 135, 206)
HSLhsl(206, 64%, 49%)
HSVhsv(206, 78%, 81%)
CMYKcmyk(78.2%, 34.5%, 0%, 19.2%)
CIE-LABlab(54.39, -1.68, -44.05)
CIE-LCHlch(54.39, 44.08, 267.82°)
OKLaboklab(60.5% -0.0536 -0.1253)
OKLCHoklch(60.5% 0.136 246.8)
XYZxyz(20.8825, 22.3396, 61.5919)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D87CE #CE742D
analogous
#2DCEC5 #2D87CE #2D36CE
triadic
#2D87CE #CE2D87 #87CE2D
tetradic
#2D87CE #C52DCE #CE742D #36CE2D
square
#2D87CE #C52DCE #CE742D #36CE2D
split-complementary
#2D87CE #CE2D36 #CEC52D
monochromatic
#17456A #22669C #2D87CE #5DA4DC #8FC0E7

Accessibility & contrast

On white

3.84
#2D87CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#2D87CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D87CE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D87CE#FFFFFF#000000##000000
##2D87CE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD1
Deuteranopia (green-blind)
#4F7BCD
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2d87ce;
/* rgb */ color: rgb(45, 135, 206);
/* oklch */ color: oklch(60.5% 0.136 246.8);
Tailwind
colors: {
  custom: {
    50: '#7ea9dd',
    500: '#2d87ce',
    950: '#000000',
  },
}
SCSS
$custom: #2d87ce;
$custom-light: #7ea9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d87ce",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 206.46,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60498,
    "c": 0.13629,
    "h": 246.8
  },
  "luminance": 0.22342
}

Semantic roles & 50–950 ramp

primary
#2D87CE
secondary
#D1A786
accent
#8A41E7
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2D87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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