#3A87D9#3A87D9

#3A87D9 is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.5% C 0.146 H 252.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#3A87D9
RGBrgb(58, 135, 217)
HSLhsl(211, 68%, 54%)
HSVhsv(211, 73%, 85%)
CMYKcmyk(73.3%, 37.8%, 0%, 14.9%)
CIE-LABlab(55.31, 3.87, -48.76)
CIE-LCHlch(55.31, 48.91, 274.54°)
OKLaboklab(61.51% -0.0437 -0.1389)
OKLCHoklch(61.51% 0.146 252.5)
XYZxyz(22.9286, 23.2347, 68.9085)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87D9 #D98C3A
analogous
#3AD7D9 #3A87D9 #3D3AD9
triadic
#3A87D9 #D93A87 #87D93A
tetradic
#3A87D9 #D93AD7 #D98C3A #3AD93D
square
#3A87D9 #D93AD7 #D98C3A #3AD93D
split-complementary
#3A87D9 #D93D3A #D7D93A
monochromatic
#194B80 #2369B3 #3A87D9 #6DA6E3 #A1C6ED

Accessibility & contrast

On white

3.72
#3A87D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#3A87D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87D9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87D9#FFFFFF#000000##000000
##3A87D91.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618CDC
Deuteranopia (green-blind)
#497ED7
Tritanopia (blue-blind)
#009AA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #3a87d9;
/* rgb */ color: rgb(58, 135, 217);
/* oklch */ color: oklch(61.5% 0.146 252.5);
Tailwind
colors: {
  custom: {
    50: '#84a9e5',
    500: '#3a87d9',
    950: '#000000',
  },
}
SCSS
$custom: #3a87d9;
$custom-light: #84a9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87d9",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 217
  },
  "hsl": {
    "h": 210.943,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61513,
    "c": 0.14566,
    "h": 252.5
  },
  "luminance": 0.23237
}

Semantic roles & 50–950 ramp

primary
#3A87D9
secondary
#D9B895
accent
#973DEB
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #3A87D9

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

Preview Lab → · Contrast checker → · Palette generator →

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