#3A87B4#3A87B4

#3A87B4 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.5% C 0.102 H 237.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#3A87B4
RGBrgb(58, 135, 180)
HSLhsl(202, 51%, 47%)
HSVhsv(202, 68%, 71%)
CMYKcmyk(67.8%, 25%, 0%, 29.4%)
CIE-LABlab(53.51, -9.12, -30.59)
CIE-LCHlch(53.51, 31.92, 253.40°)
OKLaboklab(59.51% -0.0545 -0.086)
OKLCHoklch(59.51% 0.102 237.6)
XYZxyz(18.6439, 21.5208, 46.3425)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87B4 #B4673A
analogous
#3AB4A4 #3A87B4 #3A4AB4
triadic
#3A87B4 #B43A87 #87B43A
tetradic
#3A87B4 #A43AB4 #B4673A #4AB43A
square
#3A87B4 #A43AB4 #B4673A #4AB43A
split-complementary
#3A87B4 #B43A4A #B4A43A
monochromatic
#1C4257 #2B6486 #3A87B4 #60A4CC #8EBEDB

Accessibility & contrast

On white

3.96
#3A87B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#3A87B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87B4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87B4#FFFFFF#000000##000000
##3A87B41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7287B6
Deuteranopia (green-blind)
#617BB3
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3a87b4;
/* rgb */ color: rgb(58, 135, 180);
/* oklch */ color: oklch(59.5% 0.102 237.6);
Tailwind
colors: {
  custom: {
    50: '#7ea9ca',
    500: '#3a87b4',
    950: '#000000',
  },
}
SCSS
$custom: #3a87b4;
$custom-light: #7ea9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87b4",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 180
  },
  "hsl": {
    "h": 202.131,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.10185,
    "h": 237.6
  },
  "luminance": 0.21523
}

Semantic roles & 50–950 ramp

primary
#3A87B4
secondary
#C59C85
accent
#814DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3A87B4

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

Preview Lab → · Contrast checker → · Palette generator →

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