#3A87AB#3A87AB

#3A87AB is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.093 H 231.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3A87AB
RGBrgb(58, 135, 171)
HSLhsl(199, 49%, 45%)
HSVhsv(199, 66%, 67%)
CMYKcmyk(66.1%, 21.1%, 0%, 32.9%)
CIE-LABlab(53.13, -12.14, -26.02)
CIE-LCHlch(53.13, 28.71, 244.98°)
OKLaboklab(59.08% -0.0577 -0.0729)
OKLCHoklch(59.08% 0.093 231.6)
XYZxyz(17.7567, 21.1659, 41.6698)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87AB #AB5E3A
analogous
#3AAB97 #3A87AB #3A4FAB
triadic
#3A87AB #AB3A87 #87AB3A
tetradic
#3A87AB #973AAB #AB5E3A #4FAB3A
square
#3A87AB #973AAB #AB5E3A #4FAB3A
split-complementary
#3A87AB #AB3A4F #AB973A
monochromatic
#1B3F50 #2A637D #3A87AB #5BA5C7 #89BED7

Accessibility & contrast

On white

4.01
#3A87AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#3A87AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87AB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87AB#FFFFFF#000000##000000
##3A87AB1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AD
Deuteranopia (green-blind)
#657AAA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3a87ab;
/* rgb */ color: rgb(58, 135, 171);
/* oklch */ color: oklch(59.1% 0.093 231.6);
Tailwind
colors: {
  custom: {
    50: '#7daac4',
    500: '#3a87ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a87ab;
$custom-light: #7daac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87ab",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 199.115,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.59075,
    "c": 0.09296,
    "h": 231.6
  },
  "luminance": 0.21168
}

Semantic roles & 50–950 ramp

primary
#3A87AB
secondary
#C19580
accent
#7B4FD9
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #3A87AB

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

Preview Lab → · Contrast checker → · Palette generator →

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