#3A87C9#3A87C9

#3A87C9 is a mid, vivid cyan. Relative luminance 0.224; OKLCH L 60.6% C 0.126 H 247.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#3A87C9
RGBrgb(58, 135, 201)
HSLhsl(208, 57%, 51%)
HSVhsv(208, 71%, 79%)
CMYKcmyk(71.1%, 32.8%, 0%, 21.2%)
CIE-LABlab(54.49, -1.83, -41.03)
CIE-LCHlch(54.49, 41.07, 267.45°)
OKLaboklab(60.6% -0.0479 -0.1163)
OKLCHoklch(60.6% 0.126 247.6)
XYZxyz(20.9475, 22.4422, 58.4748)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87C9 #C97C3A
analogous
#3AC9C3 #3A87C9 #3A3FC9
triadic
#3A87C9 #C93A87 #87C93A
tetradic
#3A87C9 #C33AC9 #C97C3A #3FC93A
square
#3A87C9 #C33AC9 #C97C3A #3FC93A
split-complementary
#3A87C9 #C93A3F #C9C33A
monochromatic
#1D476B #2B679B #3A87C9 #6AA4D6 #9AC2E3

Accessibility & contrast

On white

3.83
#3A87C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#3A87C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87C9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87C9#FFFFFF#000000##000000
##3A87C91.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACC
Deuteranopia (green-blind)
#557CC8
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3a87c9;
/* rgb */ color: rgb(58, 135, 201);
/* oklch */ color: oklch(60.6% 0.126 247.6);
Tailwind
colors: {
  custom: {
    50: '#81a9d9',
    500: '#3a87c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a87c9;
$custom-light: #81a9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87c9",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 201
  },
  "hsl": {
    "h": 207.692,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60602,
    "c": 0.12582,
    "h": 247.6
  },
  "luminance": 0.22445
}

Semantic roles & 50–950 ramp

primary
#3A87C9
secondary
#CFAD90
accent
#8E48E0
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A87C9

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

Preview Lab → · Contrast checker → · Palette generator →

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