#2D87E2#2D87E2

#2D87E2 is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.7% C 0.161 H 252.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2D87E2
RGBrgb(45, 135, 226)
HSLhsl(210, 76%, 53%)
HSVhsv(210, 80%, 89%)
CMYKcmyk(80.1%, 40.3%, 0%, 11.4%)
CIE-LABlab(55.46, 5.68, -53.60)
CIE-LCHlch(55.46, 53.90, 276.05°)
OKLaboklab(61.69% -0.0486 -0.1533)
OKLCHoklch(61.69% 0.161 252.4)
XYZxyz(23.4684, 23.3740, 75.2115)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D87E2 #E2882D
analogous
#2DE1E2 #2D87E2 #2D2DE2
triadic
#2D87E2 #E22D87 #87E22D
tetradic
#2D87E2 #E22DE1 #E2882D #2DE22D
square
#2D87E2 #E22DE1 #E2882D #2DE22D
split-complementary
#2D87E2 #E22D2D #E1E22D
monochromatic
#124A83 #1968B8 #2D87E2 #63A6E9 #99C4F1

Accessibility & contrast

On white

3.70
#2D87E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2D87E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D87E2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D87E2#FFFFFF#000000##000000
##2D87E21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8EE6
Deuteranopia (green-blind)
#3C7DE0
Tritanopia (blue-blind)
#009DA9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2d87e2;
/* rgb */ color: rgb(45, 135, 226);
/* oklch */ color: oklch(61.7% 0.161 252.4);
Tailwind
colors: {
  custom: {
    50: '#82a9eb',
    500: '#2d87e2',
    950: '#000000',
  },
}
SCSS
$custom: #2d87e2;
$custom-light: #82a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d87e2",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 210.166,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61685,
    "c": 0.16081,
    "h": 252.4
  },
  "luminance": 0.23377
}

Semantic roles & 50–950 ramp

primary
#2D87E2
secondary
#DCB68E
accent
#9435F2
background
#F8FAFE
surface
#F0F4FD
border
#CBCED5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #2D87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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