#3E87A5#3E87A5

#3E87A5 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 58.9% C 0.086 H 227.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#3E87A5
RGBrgb(62, 135, 165)
HSLhsl(197, 45%, 45%)
HSVhsv(197, 62%, 65%)
CMYKcmyk(62.4%, 18.2%, 0%, 35.3%)
CIE-LABlab(53.02, -13.39, -22.71)
CIE-LCHlch(53.02, 26.37, 239.48°)
OKLaboklab(58.95% -0.0574 -0.0634)
OKLCHoklch(58.95% 0.086 227.8)
XYZxyz(17.4395, 21.0669, 38.7373)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E87A5 #A55C3E
analogous
#3EA590 #3E87A5 #3E54A5
triadic
#3E87A5 #A53E87 #87A53E
tetradic
#3E87A5 #903EA5 #A55C3E #54A53E
square
#3E87A5 #903EA5 #A55C3E #54A53E
split-complementary
#3E87A5 #A53E54 #A5903E
monochromatic
#1D3E4C #2D6379 #3E87A5 #5EA5C2 #8ABED3

Accessibility & contrast

On white

4.03
#3E87A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#3E87A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E87A5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E87A5#FFFFFF#000000##000000
##3E87A51.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7785A7
Deuteranopia (green-blind)
#697AA5
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3e87a5;
/* rgb */ color: rgb(62, 135, 165);
/* oklch */ color: oklch(58.9% 0.086 227.8);
Tailwind
colors: {
  custom: {
    50: '#7eaabf',
    500: '#3e87a5',
    950: '#000000',
  },
}
SCSS
$custom: #3e87a5;
$custom-light: #7eaabf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e87a5",
  "rgb": {
    "r": 62,
    "g": 135,
    "b": 165
  },
  "hsl": {
    "h": 197.476,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.58947,
    "c": 0.0855,
    "h": 227.8
  },
  "luminance": 0.21069
}

Semantic roles & 50–950 ramp

primary
#3E87A5
secondary
#BE9381
accent
#7953D5
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #3E87A5

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

Preview Lab → · Contrast checker → · Palette generator →

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