#3A87BD#3A87BD

#3A87BD is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 60.0% C 0.112 H 242.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3A87BD
RGBrgb(58, 135, 189)
HSLhsl(205, 53%, 48%)
HSVhsv(205, 69%, 74%)
CMYKcmyk(69.3%, 28.6%, 0%, 25.9%)
CIE-LABlab(53.92, -6.03, -35.10)
CIE-LCHlch(53.92, 35.62, 260.26°)
OKLaboklab(59.96% -0.0515 -0.0991)
OKLCHoklch(59.96% 0.112 242.5)
XYZxyz(19.5907, 21.8995, 51.3288)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87BD #BD703A
analogous
#3ABDB1 #3A87BD #3A45BD
triadic
#3A87BD #BD3A87 #87BD3A
tetradic
#3A87BD #B13ABD #BD703A #45BD3A
square
#3A87BD #B13ABD #BD703A #45BD3A
split-complementary
#3A87BD #BD3A45 #BDB13A
monochromatic
#1D445F #2C668E #3A87BD #65A3D0 #93BFDE

Accessibility & contrast

On white

3.90
#3A87BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#3A87BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87BD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87BD#FFFFFF#000000##000000
##3A87BD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88BF
Deuteranopia (green-blind)
#5C7BBC
Tritanopia (blue-blind)
#00949A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3a87bd;
/* rgb */ color: rgb(58, 135, 189);
/* oklch */ color: oklch(60.0% 0.112 242.5);
Tailwind
colors: {
  custom: {
    50: '#7fa9d1',
    500: '#3a87bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a87bd;
$custom-light: #7fa9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87bd",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 204.733,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59962,
    "c": 0.1117,
    "h": 242.5
  },
  "luminance": 0.21902
}

Semantic roles & 50–950 ramp

primary
#3A87BD
secondary
#C9A48A
accent
#874BDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3A87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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