#3A87C1#3A87C1

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

Color values

HEX#3A87C1
RGBrgb(58, 135, 193)
HSLhsl(206, 54%, 49%)
HSVhsv(206, 70%, 76%)
CMYKcmyk(69.9%, 30.1%, 0%, 24.3%)
CIE-LABlab(54.11, -4.64, -37.09)
CIE-LCHlch(54.11, 37.38, 262.87°)
OKLaboklab(60.17% -0.0503 -0.1049)
OKLCHoklch(60.17% 0.116 244.4)
XYZxyz(20.0309, 22.0756, 53.6471)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87C1 #C1743A
analogous
#3AC1B8 #3A87C1 #3A43C1
triadic
#3A87C1 #C13A87 #87C13A
tetradic
#3A87C1 #B83AC1 #C1743A #43C13A
square
#3A87C1 #B83AC1 #C1743A #43C13A
split-complementary
#3A87C1 #C13A43 #C1B83A
monochromatic
#1E4563 #2C6692 #3A87C1 #67A4D1 #96C0DF

Accessibility & contrast

On white

3.88
#3A87C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A87C1#FFFFFF#000000##000000
##3A87C11.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C4
Deuteranopia (green-blind)
#5A7CC0
Tritanopia (blue-blind)
#00959B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3a87c1;
/* rgb */ color: rgb(58, 135, 193);
/* oklch */ color: oklch(60.2% 0.116 244.4);
Tailwind
colors: {
  custom: {
    50: '#80a9d4',
    500: '#3a87c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a87c1;
$custom-light: #80a9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87c1",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 193
  },
  "hsl": {
    "h": 205.778,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60171,
    "c": 0.1163,
    "h": 244.4
  },
  "luminance": 0.22078
}

Semantic roles & 50–950 ramp

primary
#3A87C1
secondary
#CBA78C
accent
#8A4BDD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #3A87C1

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

Preview Lab → · Contrast checker → · Palette generator →

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