#3A87CA#3A87CA

#3A87CA is a mid, vivid cyan. Relative luminance 0.225; OKLCH L 60.7% C 0.127 H 248.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#3A87CA
RGBrgb(58, 135, 202)
HSLhsl(208, 58%, 51%)
HSVhsv(208, 71%, 79%)
CMYKcmyk(71.3%, 33.2%, 0%, 20.8%)
CIE-LABlab(54.54, -1.48, -41.52)
CIE-LCHlch(54.54, 41.54, 267.96°)
OKLaboklab(60.66% -0.0476 -0.1178)
OKLCHoklch(60.66% 0.127 248)
XYZxyz(21.0655, 22.4894, 59.0964)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87CA #CA7D3A
analogous
#3ACAC5 #3A87CA #3A3FCA
triadic
#3A87CA #CA3A87 #87CA3A
tetradic
#3A87CA #C53ACA #CA7D3A #3FCA3A
square
#3A87CA #C53ACA #CA7D3A #3FCA3A
split-complementary
#3A87CA #CA3A3F #CAC53A
monochromatic
#1D486C #2A679D #3A87CA #6AA4D7 #9AC2E4

Accessibility & contrast

On white

3.82
#3A87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#3A87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87CA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87CA#FFFFFF#000000##000000
##3A87CA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3a87ca;
/* rgb */ color: rgb(58, 135, 202);
/* oklch */ color: oklch(60.7% 0.127 248.0);
Tailwind
colors: {
  custom: {
    50: '#81a9da',
    500: '#3a87ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a87ca;
$custom-light: #81a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87ca",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 207.917,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.12703,
    "h": 248
  },
  "luminance": 0.22492
}

Semantic roles & 50–950 ramp

primary
#3A87CA
secondary
#D0AE90
accent
#8F47E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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