#3E87CC#3E87CC

#3E87CC is a mid, vivid cyan. Relative luminance 0.227; OKLCH L 60.9% C 0.128 H 249.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#3E87CC
RGBrgb(62, 135, 204)
HSLhsl(209, 58%, 52%)
HSVhsv(209, 70%, 80%)
CMYKcmyk(69.6%, 33.8%, 0%, 20%)
CIE-LABlab(54.77, -0.18, -42.28)
CIE-LCHlch(54.77, 42.28, 269.75°)
OKLaboklab(60.91% -0.0445 -0.1199)
OKLCHoklch(60.91% 0.128 249.6)
XYZxyz(21.5456, 22.7094, 60.3629)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E87CC #CC833E
analogous
#3ECCCA #3E87CC #3E40CC
triadic
#3E87CC #CC3E87 #87CC3E
tetradic
#3E87CC #CA3ECC #CC833E #40CC3E
square
#3E87CC #CA3ECC #CC833E #40CC3E
split-complementary
#3E87CC #CC3E40 #CCCA3E
monochromatic
#1E4972 #2B68A2 #3E87CC #6EA5D9 #9FC3E6

Accessibility & contrast

On white

3.79
#3E87CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#3E87CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E87CC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E87CC#FFFFFF#000000##000000
##3E87CC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #3e87cc;
/* rgb */ color: rgb(62, 135, 204);
/* oklch */ color: oklch(60.9% 0.128 249.6);
Tailwind
colors: {
  custom: {
    50: '#83a9dc',
    500: '#3e87cc',
    950: '#000000',
  },
}
SCSS
$custom: #3e87cc;
$custom-light: #83a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e87cc",
  "rgb": {
    "r": 62,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 209.155,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60907,
    "c": 0.12795,
    "h": 249.6
  },
  "luminance": 0.22712
}

Semantic roles & 50–950 ramp

primary
#3E87CC
secondary
#D2B294
accent
#9246E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3E87CC

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

Preview Lab → · Contrast checker → · Palette generator →

#3E87CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva