#3A87C2#3A87C2

#3A87C2 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 60.2% C 0.117 H 244.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#3A87C2
RGBrgb(58, 135, 194)
HSLhsl(206, 54%, 49%)
HSVhsv(206, 70%, 76%)
CMYKcmyk(70.1%, 30.4%, 0%, 23.9%)
CIE-LABlab(54.15, -4.29, -37.58)
CIE-LCHlch(54.15, 37.83, 263.49°)
OKLaboklab(60.22% -0.05 -0.1063)
OKLCHoklch(60.22% 0.117 244.8)
XYZxyz(20.1428, 22.1203, 54.2366)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87C2 #C2753A
analogous
#3AC2B9 #3A87C2 #3A43C2
triadic
#3A87C2 #C23A87 #87C23A
tetradic
#3A87C2 #B93AC2 #C2753A #43C23A
square
#3A87C2 #B93AC2 #C2753A #43C23A
split-complementary
#3A87C2 #C23A43 #C2B93A
monochromatic
#1E4564 #2C6693 #3A87C2 #67A4D2 #97C0E0

Accessibility & contrast

On white

3.87
#3A87C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#3A87C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87C2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87C2#FFFFFF#000000##000000
##3A87C21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C89C5
Deuteranopia (green-blind)
#5A7CC1
Tritanopia (blue-blind)
#00959C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3a87c2;
/* rgb */ color: rgb(58, 135, 194);
/* oklch */ color: oklch(60.2% 0.117 244.8);
Tailwind
colors: {
  custom: {
    50: '#80a9d4',
    500: '#3a87c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a87c2;
$custom-light: #80a9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87c2",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 206.029,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60224,
    "c": 0.11747,
    "h": 244.8
  },
  "luminance": 0.22123
}

Semantic roles & 50–950 ramp

primary
#3A87C2
secondary
#CBA88D
accent
#8A4ADD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #3A87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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