#3A87D3#3A87D3

#3A87D3 is a mid, vivid cyan. Relative luminance 0.229; OKLCH L 61.2% C 0.138 H 250.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#3A87D3
RGBrgb(58, 135, 211)
HSLhsl(210, 63%, 53%)
HSVhsv(210, 73%, 83%)
CMYKcmyk(72.5%, 36%, 0%, 17.3%)
CIE-LABlab(55.00, 1.72, -45.88)
CIE-LCHlch(55.00, 45.91, 272.15°)
OKLaboklab(61.16% -0.0452 -0.1305)
OKLCHoklch(61.16% 0.138 250.9)
XYZxyz(22.1624, 22.9282, 64.8729)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87D3 #D3863A
analogous
#3AD3D2 #3A87D3 #3A3AD3
triadic
#3A87D3 #D33A87 #87D33A
tetradic
#3A87D3 #D23AD3 #D3863A #3AD33A
square
#3A87D3 #D23AD3 #D3863A #3AD33A
split-complementary
#3A87D3 #D33A3A #D3D23A
monochromatic
#1B4A78 #2668AA #3A87D3 #6CA5DE #9EC4E9

Accessibility & contrast

On white

3.76
#3A87D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#3A87D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87D3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87D3#FFFFFF#000000##000000
##3A87D31.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#648BD6
Deuteranopia (green-blind)
#4E7DD2
Tritanopia (blue-blind)
#0099A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #3a87d3;
/* rgb */ color: rgb(58, 135, 211);
/* oklch */ color: oklch(61.2% 0.138 250.9);
Tailwind
colors: {
  custom: {
    50: '#83a9e1',
    500: '#3a87d3',
    950: '#000000',
  },
}
SCSS
$custom: #3a87d3;
$custom-light: #83a9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87d3",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 209.804,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61164,
    "c": 0.13812,
    "h": 250.9
  },
  "luminance": 0.22931
}

Semantic roles & 50–950 ramp

primary
#3A87D3
secondary
#D6B493
accent
#9341E7
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A87D3

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

Preview Lab → · Contrast checker → · Palette generator →

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