#3A87AD#3A87AD

#3A87AD is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.2% C 0.095 H 233.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3A87AD
RGBrgb(58, 135, 173)
HSLhsl(200, 50%, 45%)
HSVhsv(200, 66%, 68%)
CMYKcmyk(66.5%, 22%, 0%, 32.2%)
CIE-LABlab(53.21, -11.48, -27.04)
CIE-LCHlch(53.21, 29.37, 247.00°)
OKLaboklab(59.17% -0.057 -0.0758)
OKLCHoklch(59.17% 0.095 233.1)
XYZxyz(17.9488, 21.2427, 42.6814)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87AD #AD603A
analogous
#3AAD99 #3A87AD #3A4DAD
triadic
#3A87AD #AD3A87 #87AD3A
tetradic
#3A87AD #993AAD #AD603A #4DAD3A
square
#3A87AD #993AAD #AD603A #4DAD3A
split-complementary
#3A87AD #AD3A4D #AD993A
monochromatic
#1B3F51 #2B637F #3A87AD #5CA4C8 #8ABED8

Accessibility & contrast

On white

4.00
#3A87AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#3A87AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87AD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87AD#FFFFFF#000000##000000
##3A87AD1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7486AF
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#009194
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3a87ad;
/* rgb */ color: rgb(58, 135, 173);
/* oklch */ color: oklch(59.2% 0.095 233.1);
Tailwind
colors: {
  custom: {
    50: '#7daac5',
    500: '#3a87ad',
    950: '#000000',
  },
}
SCSS
$custom: #3a87ad;
$custom-light: #7daac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87ad",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 173
  },
  "hsl": {
    "h": 199.826,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.59169,
    "c": 0.09483,
    "h": 233.1
  },
  "luminance": 0.21245
}

Semantic roles & 50–950 ramp

primary
#3A87AD
secondary
#C29681
accent
#7C4ED9
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3A87AD

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

Preview Lab → · Contrast checker → · Palette generator →

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