#3A87C5#3A87C5

#3A87C5 is a mid, vivid cyan. Relative luminance 0.223; OKLCH L 60.4% C 0.121 H 246.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#3A87C5
RGBrgb(58, 135, 197)
HSLhsl(207, 55%, 50%)
HSVhsv(207, 71%, 77%)
CMYKcmyk(70.6%, 31.5%, 0%, 22.7%)
CIE-LABlab(54.30, -3.24, -39.06)
CIE-LCHlch(54.30, 39.20, 265.26°)
OKLaboklab(60.39% -0.0491 -0.1106)
OKLCHoklch(60.39% 0.121 246.1)
XYZxyz(20.4831, 22.2565, 56.0289)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87C5 #C5783A
analogous
#3AC5BE #3A87C5 #3A41C5
triadic
#3A87C5 #C53A87 #87C53A
tetradic
#3A87C5 #BE3AC5 #C5783A #41C53A
square
#3A87C5 #BE3AC5 #C5783A #41C53A
split-complementary
#3A87C5 #C53A41 #C5BE3A
monochromatic
#1E4666 #2C6796 #3A87C5 #69A4D3 #99C1E1

Accessibility & contrast

On white

3.85
#3A87C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#3A87C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87C5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87C5#FFFFFF#000000##000000
##3A87C51.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B89C8
Deuteranopia (green-blind)
#587CC4
Tritanopia (blue-blind)
#00969D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3a87c5;
/* rgb */ color: rgb(58, 135, 197);
/* oklch */ color: oklch(60.4% 0.121 246.1);
Tailwind
colors: {
  custom: {
    50: '#81a9d7',
    500: '#3a87c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a87c5;
$custom-light: #81a9d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87c5",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 197
  },
  "hsl": {
    "h": 206.763,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.12102,
    "h": 246.1
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#3A87C5
secondary
#CDAA8E
accent
#8C4ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #3A87C5

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

Preview Lab → · Contrast checker → · Palette generator →

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