#3A87CE#3A87CE

#3A87CE is a mid, vivid cyan. Relative luminance 0.227; OKLCH L 60.9% C 0.132 H 249.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#3A87CE
RGBrgb(58, 135, 206)
HSLhsl(209, 60%, 52%)
HSVhsv(209, 72%, 81%)
CMYKcmyk(71.8%, 34.5%, 0%, 19.2%)
CIE-LABlab(54.74, -0.06, -43.46)
CIE-LCHlch(54.74, 43.46, 269.92°)
OKLaboklab(60.88% -0.0465 -0.1234)
OKLCHoklch(60.88% 0.132 249.3)
XYZxyz(21.5453, 22.6813, 61.6230)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87CE #CE813A
analogous
#3ACECB #3A87CE #3A3DCE
triadic
#3A87CE #CE3A87 #87CE3A
tetradic
#3A87CE #CB3ACE #CE813A #3DCE3A
square
#3A87CE #CB3ACE #CE813A #3DCE3A
split-complementary
#3A87CE #CE3A3D #CECB3A
monochromatic
#1C4971 #2868A2 #3A87CE #6BA5DA #9CC3E6

Accessibility & contrast

On white

3.79
#3A87CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#3A87CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87CE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87CE#FFFFFF#000000##000000
##3A87CE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD1
Deuteranopia (green-blind)
#527DCD
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #3a87ce;
/* rgb */ color: rgb(58, 135, 206);
/* oklch */ color: oklch(60.9% 0.132 249.3);
Tailwind
colors: {
  custom: {
    50: '#82a9dd',
    500: '#3a87ce',
    950: '#000000',
  },
}
SCSS
$custom: #3a87ce;
$custom-light: #82a9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87ce",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 208.784,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6088,
    "c": 0.13193,
    "h": 249.3
  },
  "luminance": 0.22684
}

Semantic roles & 50–950 ramp

primary
#3A87CE
secondary
#D2B191
accent
#9144E3
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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