#3A87E1#3A87E1

#3A87E1 is a mid, vivid cyan. Relative luminance 0.237; OKLCH L 62.0% C 0.156 H 254.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3A87E1
RGBrgb(58, 135, 225)
HSLhsl(212, 74%, 55%)
HSVhsv(212, 74%, 88%)
CMYKcmyk(74.2%, 40%, 0%, 11.8%)
CIE-LABlab(55.75, 6.75, -52.55)
CIE-LCHlch(55.75, 52.98, 277.32°)
OKLaboklab(61.99% -0.0418 -0.1501)
OKLCHoklch(61.99% 0.156 254.4)
XYZxyz(23.9945, 23.6610, 74.5220)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87E1 #E1943A
analogous
#3ADBE1 #3A87E1 #403AE1
triadic
#3A87E1 #E13A87 #87E13A
tetradic
#3A87E1 #E13ADB #E1943A #3AE140
square
#3A87E1 #E13ADB #E1943A #3AE140
split-complementary
#3A87E1 #E1403A #DBE13A
monochromatic
#154C8B #1D69C0 #3A87E1 #6FA7E9 #A4C8F1

Accessibility & contrast

On white

3.66
#3A87E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#3A87E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87E1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87E1#FFFFFF#000000##000000
##3A87E11.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE5
Deuteranopia (green-blind)
#417FDF
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #3a87e1;
/* rgb */ color: rgb(58, 135, 225);
/* oklch */ color: oklch(62.0% 0.156 254.4);
Tailwind
colors: {
  custom: {
    50: '#86a9eb',
    500: '#3a87e1',
    950: '#000000',
  },
}
SCSS
$custom: #3a87e1;
$custom-light: #86a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87e1",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 212.335,
    "s": 73.568,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61992,
    "c": 0.15581,
    "h": 254.4
  },
  "luminance": 0.23664
}

Semantic roles & 50–950 ramp

primary
#3A87E1
secondary
#DEBE99
accent
#9B38F0
background
#F8FAFE
surface
#F0F4FD
border
#CBCED5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #3A87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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