#3A87B9#3A87B9

#3A87B9 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.8% C 0.107 H 240.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3A87B9
RGBrgb(58, 135, 185)
HSLhsl(204, 52%, 48%)
HSVhsv(204, 69%, 73%)
CMYKcmyk(68.6%, 27%, 0%, 27.5%)
CIE-LABlab(53.74, -7.41, -33.10)
CIE-LCHlch(53.74, 33.92, 257.39°)
OKLaboklab(59.76% -0.0528 -0.0933)
OKLCHoklch(59.76% 0.107 240.5)
XYZxyz(19.1625, 21.7282, 49.0736)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87B9 #B96C3A
analogous
#3AB9AB #3A87B9 #3A48B9
triadic
#3A87B9 #B93A87 #87B93A
tetradic
#3A87B9 #AB3AB9 #B96C3A #48B93A
square
#3A87B9 #AB3AB9 #B96C3A #48B93A
split-complementary
#3A87B9 #B93A48 #B9AB3A
monochromatic
#1D435C #2B658A #3A87B9 #62A4CE #91BFDC

Accessibility & contrast

On white

3.93
#3A87B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#3A87B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87B9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87B9#FFFFFF#000000##000000
##3A87B91.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7087BB
Deuteranopia (green-blind)
#5F7BB8
Tritanopia (blue-blind)
#009398
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3a87b9;
/* rgb */ color: rgb(58, 135, 185);
/* oklch */ color: oklch(59.8% 0.107 240.5);
Tailwind
colors: {
  custom: {
    50: '#7fa9ce',
    500: '#3a87b9',
    950: '#000000',
  },
}
SCSS
$custom: #3a87b9;
$custom-light: #7fa9ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87b9",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 185
  },
  "hsl": {
    "h": 203.622,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.59758,
    "c": 0.10722,
    "h": 240.5
  },
  "luminance": 0.2173
}

Semantic roles & 50–950 ramp

primary
#3A87B9
secondary
#C7A187
accent
#854CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3A87B9

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

Preview Lab → · Contrast checker → · Palette generator →

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