#3A87D2#3A87D2

#3A87D2 is a mid, vivid cyan. Relative luminance 0.229; OKLCH L 61.1% C 0.137 H 250.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#3A87D2
RGBrgb(58, 135, 210)
HSLhsl(210, 63%, 53%)
HSVhsv(210, 72%, 82%)
CMYKcmyk(72.4%, 35.7%, 0%, 17.6%)
CIE-LABlab(54.95, 1.36, -45.40)
CIE-LCHlch(54.95, 45.42, 271.72°)
OKLaboklab(61.11% -0.0455 -0.1291)
OKLCHoklch(61.11% 0.137 250.6)
XYZxyz(22.0374, 22.8782, 64.2148)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87D2 #D2853A
analogous
#3AD2D1 #3A87D2 #3A3BD2
triadic
#3A87D2 #D23A87 #87D23A
tetradic
#3A87D2 #D13AD2 #D2853A #3BD23A
square
#3A87D2 #D13AD2 #D2853A #3BD23A
split-complementary
#3A87D2 #D23A3B #D2D13A
monochromatic
#1B4977 #2668A8 #3A87D2 #6CA5DD #9EC4E9

Accessibility & contrast

On white

3.77
#3A87D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#3A87D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87D2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87D2#FFFFFF#000000##000000
##3A87D21.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#658BD5
Deuteranopia (green-blind)
#4E7DD1
Tritanopia (blue-blind)
#0099A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #3a87d2;
/* rgb */ color: rgb(58, 135, 210);
/* oklch */ color: oklch(61.1% 0.137 250.6);
Tailwind
colors: {
  custom: {
    50: '#83a9e0',
    500: '#3a87d2',
    950: '#000000',
  },
}
SCSS
$custom: #3a87d2;
$custom-light: #83a9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87d2",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 209.605,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.13688,
    "h": 250.6
  },
  "luminance": 0.22881
}

Semantic roles & 50–950 ramp

primary
#3A87D2
secondary
#D5B393
accent
#9342E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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