#2E87CA#2E87CA

#2E87CA is a mid, vivid cyan. Relative luminance 0.222; OKLCH L 60.3% C 0.131 H 245.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2E87CA
RGBrgb(46, 135, 202)
HSLhsl(206, 63%, 49%)
HSVhsv(206, 77%, 79%)
CMYKcmyk(77.2%, 33.2%, 0%, 20.8%)
CIE-LABlab(54.21, -3.02, -42.07)
CIE-LCHlch(54.21, 42.18, 265.89°)
OKLaboklab(60.3% -0.0543 -0.1195)
OKLCHoklch(60.3% 0.131 245.6)
XYZxyz(20.4472, 22.1706, 59.0674)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87CA #CA712E
analogous
#2ECABF #2E87CA #2E39CA
triadic
#2E87CA #CA2E87 #87CA2E
tetradic
#2E87CA #BF2ECA #CA712E #39CA2E
square
#2E87CA #BF2ECA #CA712E #39CA2E
split-complementary
#2E87CA #CA2E39 #CABF2E
monochromatic
#174466 #236698 #2E87CA #5BA4DA #8DBFE5

Accessibility & contrast

On white

3.86
#2E87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2E87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87CA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87CA#FFFFFF#000000##000000
##2E87CA1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACD
Deuteranopia (green-blind)
#527BC9
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2e87ca;
/* rgb */ color: rgb(46, 135, 202);
/* oklch */ color: oklch(60.3% 0.131 245.6);
Tailwind
colors: {
  custom: {
    50: '#7da9da',
    500: '#2e87ca',
    950: '#000000',
  },
}
SCSS
$custom: #2e87ca;
$custom-light: #7da9da;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87ca",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 205.769,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60299,
    "c": 0.13124,
    "h": 245.6
  },
  "luminance": 0.22173
}

Semantic roles & 50–950 ramp

primary
#2E87CA
secondary
#CFA584
accent
#8842E6
background
#F8FAFD
surface
#EFF4FB
border
#CACED4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2E87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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