#3A87AF#3A87AF

#3A87AF is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.3% C 0.097 H 234.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#3A87AF
RGBrgb(58, 135, 175)
HSLhsl(201, 50%, 46%)
HSVhsv(201, 67%, 69%)
CMYKcmyk(66.9%, 22.9%, 0%, 31.4%)
CIE-LABlab(53.30, -10.81, -28.06)
CIE-LCHlch(53.30, 30.06, 248.93°)
OKLaboklab(59.27% -0.0563 -0.0787)
OKLCHoklch(59.27% 0.097 234.4)
XYZxyz(18.1437, 21.3207, 43.7082)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87AF #AF623A
analogous
#3AAF9C #3A87AF #3A4CAF
triadic
#3A87AF #AF3A87 #87AF3A
tetradic
#3A87AF #9C3AAF #AF623A #4CAF3A
square
#3A87AF #9C3AAF #AF623A #4CAF3A
split-complementary
#3A87AF #AF3A4C #AF9C3A
monochromatic
#1C4053 #2B6481 #3A87AF #5DA4C9 #8BBED9

Accessibility & contrast

On white

3.99
#3A87AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#3A87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87AF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87AF#FFFFFF#000000##000000
##3A87AF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7486B1
Deuteranopia (green-blind)
#647AAE
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3a87af;
/* rgb */ color: rgb(58, 135, 175);
/* oklch */ color: oklch(59.3% 0.097 234.4);
Tailwind
colors: {
  custom: {
    50: '#7daac7',
    500: '#3a87af',
    950: '#000000',
  },
}
SCSS
$custom: #3a87af;
$custom-light: #7daac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87af",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 200.513,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.59265,
    "c": 0.09677,
    "h": 234.4
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#3A87AF
secondary
#C39882
accent
#7E4EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3A87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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