#3A87BB#3A87BB

#3A87BB is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.9% C 0.109 H 241.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3A87BB
RGBrgb(58, 135, 187)
HSLhsl(204, 53%, 48%)
HSVhsv(204, 69%, 73%)
CMYKcmyk(69%, 27.8%, 0%, 26.7%)
CIE-LABlab(53.83, -6.72, -34.11)
CIE-LCHlch(53.83, 34.76, 258.85°)
OKLaboklab(59.86% -0.0522 -0.0962)
OKLCHoklch(59.86% 0.109 241.5)
XYZxyz(19.3751, 21.8133, 50.1933)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87BB #BB6E3A
analogous
#3ABBAE #3A87BB #3A46BB
triadic
#3A87BB #BB3A87 #87BB3A
tetradic
#3A87BB #AE3ABB #BB6E3A #46BB3A
square
#3A87BB #AE3ABB #BB6E3A #46BB3A
split-complementary
#3A87BB #BB3A46 #BBAE3A
monochromatic
#1D445E #2C658C #3A87BB #63A3CF #92BFDD

Accessibility & contrast

On white

3.92
#3A87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#3A87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87BB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87BB#FFFFFF#000000##000000
##3A87BB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BD
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3a87bb;
/* rgb */ color: rgb(58, 135, 187);
/* oklch */ color: oklch(59.9% 0.109 241.5);
Tailwind
colors: {
  custom: {
    50: '#7fa9cf',
    500: '#3a87bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a87bb;
$custom-light: #7fa9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87bb",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 204.186,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59859,
    "c": 0.10944,
    "h": 241.5
  },
  "luminance": 0.21815
}

Semantic roles & 50–950 ramp

primary
#3A87BB
secondary
#C8A288
accent
#864CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3A87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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