#2E87E1#2E87E1

#2E87E1 is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.6% C 0.159 H 252.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2E87E1
RGBrgb(46, 135, 225)
HSLhsl(210, 75%, 53%)
HSVhsv(210, 80%, 88%)
CMYKcmyk(79.6%, 40%, 0%, 11.8%)
CIE-LABlab(55.42, 5.41, -53.09)
CIE-LCHlch(55.42, 53.36, 275.82°)
OKLaboklab(61.65% -0.0484 -0.1518)
OKLCHoklch(61.65% 0.159 252.3)
XYZxyz(23.3762, 23.3422, 74.4930)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87E1 #E1882E
analogous
#2EE0E1 #2E87E1 #2F2EE1
triadic
#2E87E1 #E12E87 #87E12E
tetradic
#2E87E1 #E12EE0 #E1882E #2EE12F
square
#2E87E1 #E12EE0 #E1882E #2EE12F
split-complementary
#2E87E1 #E12F2E #E0E12E
monochromatic
#134A82 #1A68B7 #2E87E1 #64A6E9 #99C4F0

Accessibility & contrast

On white

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

On black

5.67
#2E87E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87E1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87E1#FFFFFF#000000##000000
##2E87E11.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8DE5
Deuteranopia (green-blind)
#3D7DDF
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2e87e1;
/* rgb */ color: rgb(46, 135, 225);
/* oklch */ color: oklch(61.6% 0.159 252.3);
Tailwind
colors: {
  custom: {
    50: '#82a9eb',
    500: '#2e87e1',
    950: '#000000',
  },
}
SCSS
$custom: #2e87e1;
$custom-light: #82a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87e1",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 210.168,
    "s": 74.895,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61648,
    "c": 0.1593,
    "h": 252.3
  },
  "luminance": 0.23345
}

Semantic roles & 50–950 ramp

primary
#2E87E1
secondary
#DCB68F
accent
#9436F2
background
#F8FAFE
surface
#F0F4FD
border
#CBCED5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #2E87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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