#3A87C8#3A87C8

#3A87C8 is a mid, vivid cyan. Relative luminance 0.224; OKLCH L 60.5% C 0.125 H 247.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3A87C8
RGBrgb(58, 135, 200)
HSLhsl(207, 56%, 51%)
HSVhsv(207, 71%, 78%)
CMYKcmyk(71%, 32.5%, 0%, 21.6%)
CIE-LABlab(54.44, -2.18, -40.54)
CIE-LCHlch(54.44, 40.60, 266.92°)
OKLaboklab(60.55% -0.0482 -0.1149)
OKLCHoklch(60.55% 0.125 247.2)
XYZxyz(20.8303, 22.3953, 57.8573)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87C8 #C87B3A
analogous
#3AC8C2 #3A87C8 #3A40C8
triadic
#3A87C8 #C83A87 #87C83A
tetradic
#3A87C8 #C23AC8 #C87B3A #40C83A
square
#3A87C8 #C23AC8 #C87B3A #40C83A
split-complementary
#3A87C8 #C83A40 #C8C23A
monochromatic
#1E476A #2B679A #3A87C8 #6AA4D5 #9AC1E3

Accessibility & contrast

On white

3.83
#3A87C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#3A87C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87C8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87C8#FFFFFF#000000##000000
##3A87C81.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACB
Deuteranopia (green-blind)
#567CC7
Tritanopia (blue-blind)
#00979E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3a87c8;
/* rgb */ color: rgb(58, 135, 200);
/* oklch */ color: oklch(60.5% 0.125 247.2);
Tailwind
colors: {
  custom: {
    50: '#81a9d9',
    500: '#3a87c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a87c8;
$custom-light: #81a9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87c8",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 207.465,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60548,
    "c": 0.12461,
    "h": 247.2
  },
  "luminance": 0.22398
}

Semantic roles & 50–950 ramp

primary
#3A87C8
secondary
#CEAC8F
accent
#8E48E0
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #3A87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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