#3A87CB#3A87CB

#3A87CB is a mid, vivid cyan. Relative luminance 0.225; OKLCH L 60.7% C 0.128 H 248.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#3A87CB
RGBrgb(58, 135, 203)
HSLhsl(208, 58%, 51%)
HSVhsv(208, 71%, 80%)
CMYKcmyk(71.4%, 33.5%, 0%, 20.4%)
CIE-LABlab(54.59, -1.12, -42.00)
CIE-LCHlch(54.59, 42.02, 268.47°)
OKLaboklab(60.71% -0.0474 -0.1192)
OKLCHoklch(60.71% 0.128 248.3)
XYZxyz(21.1843, 22.5369, 59.7219)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87CB #CB7E3A
analogous
#3ACBC6 #3A87CB #3A3ECB
triadic
#3A87CB #CB3A87 #87CB3A
tetradic
#3A87CB #C63ACB #CB7E3A #3ECB3A
square
#3A87CB #C63ACB #CB7E3A #3ECB3A
split-complementary
#3A87CB #CB3A3E #CBC63A
monochromatic
#1D486E #2A689E #3A87CB #6AA4D8 #9BC2E5

Accessibility & contrast

On white

3.81
#3A87CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#3A87CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87CB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87CB#FFFFFF#000000##000000
##3A87CB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#547CCA
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #3a87cb;
/* rgb */ color: rgb(58, 135, 203);
/* oklch */ color: oklch(60.7% 0.128 248.3);
Tailwind
colors: {
  custom: {
    50: '#82a9db',
    500: '#3a87cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a87cb;
$custom-light: #82a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87cb",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 208.138,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.12825,
    "h": 248.3
  },
  "luminance": 0.22539
}

Semantic roles & 50–950 ramp

primary
#3A87CB
secondary
#D0AE90
accent
#8F46E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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