#3A87B0#3A87B0

#3A87B0 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.3% C 0.098 H 235.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#3A87B0
RGBrgb(58, 135, 176)
HSLhsl(201, 50%, 46%)
HSVhsv(201, 67%, 69%)
CMYKcmyk(67%, 23.3%, 0%, 31%)
CIE-LABlab(53.34, -10.47, -28.56)
CIE-LCHlch(53.34, 30.42, 249.87°)
OKLaboklab(59.31% -0.0559 -0.0802)
OKLCHoklch(59.31% 0.098 235.1)
XYZxyz(18.2423, 21.3601, 44.2274)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87B0 #B0633A
analogous
#3AB09E #3A87B0 #3A4CB0
triadic
#3A87B0 #B03A87 #87B03A
tetradic
#3A87B0 #9E3AB0 #B0633A #4CB03A
square
#3A87B0 #9E3AB0 #B0633A #4CB03A
split-complementary
#3A87B0 #B03A4C #B09E3A
monochromatic
#1C4054 #2B6482 #3A87B0 #5DA4CA #8BBED9

Accessibility & contrast

On white

3.98
#3A87B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#3A87B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87B0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87B0#FFFFFF#000000##000000
##3A87B01.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B2
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3a87b0;
/* rgb */ color: rgb(58, 135, 176);
/* oklch */ color: oklch(59.3% 0.098 235.1);
Tailwind
colors: {
  custom: {
    50: '#7da9c7',
    500: '#3a87b0',
    950: '#000000',
  },
}
SCSS
$custom: #3a87b0;
$custom-light: #7da9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87b0",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 176
  },
  "hsl": {
    "h": 200.847,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.59313,
    "c": 0.09776,
    "h": 235.1
  },
  "luminance": 0.21362
}

Semantic roles & 50–950 ramp

primary
#3A87B0
secondary
#C39982
accent
#7F4EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3A87B0

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

Preview Lab → · Contrast checker → · Palette generator →

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