#3A87D5#3A87D5

#3A87D5 is a mid, vivid cyan. Relative luminance 0.230; OKLCH L 61.3% C 0.141 H 251.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3A87D5
RGBrgb(58, 135, 213)
HSLhsl(210, 65%, 53%)
HSVhsv(210, 73%, 84%)
CMYKcmyk(72.8%, 36.6%, 0%, 16.5%)
CIE-LABlab(55.10, 2.44, -46.84)
CIE-LCHlch(55.10, 46.91, 272.98°)
OKLaboklab(61.28% -0.0447 -0.1333)
OKLCHoklch(61.28% 0.141 251.5)
XYZxyz(22.4146, 23.0291, 66.2016)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87D5 #D5883A
analogous
#3AD4D5 #3A87D5 #3A3AD5
triadic
#3A87D5 #D53A87 #87D53A
tetradic
#3A87D5 #D53AD4 #D5883A #3AD53A
square
#3A87D5 #D53AD4 #D5883A #3AD53A
split-complementary
#3A87D5 #D53A3A #D4D53A
monochromatic
#1A4A7A #2568AD #3A87D5 #6CA6E0 #9FC4EB

Accessibility & contrast

On white

3.75
#3A87D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#3A87D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87D5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87D5#FFFFFF#000000##000000
##3A87D51.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#638CD8
Deuteranopia (green-blind)
#4C7DD3
Tritanopia (blue-blind)
#0099A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #3a87d5;
/* rgb */ color: rgb(58, 135, 213);
/* oklch */ color: oklch(61.3% 0.141 251.5);
Tailwind
colors: {
  custom: {
    50: '#83a9e2',
    500: '#3a87d5',
    950: '#000000',
  },
}
SCSS
$custom: #3a87d5;
$custom-light: #83a9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87d5",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 210.194,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.14063,
    "h": 251.5
  },
  "luminance": 0.23032
}

Semantic roles & 50–950 ramp

primary
#3A87D5
secondary
#D7B694
accent
#9440E8
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A87D5

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

Preview Lab → · Contrast checker → · Palette generator →

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