#3A87BA#3A87BA

#3A87BA is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.8% C 0.108 H 241.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3A87BA
RGBrgb(58, 135, 186)
HSLhsl(204, 52%, 48%)
HSVhsv(204, 69%, 73%)
CMYKcmyk(68.8%, 27.4%, 0%, 27.1%)
CIE-LABlab(53.78, -7.06, -33.61)
CIE-LCHlch(53.78, 34.34, 258.13°)
OKLaboklab(59.81% -0.0525 -0.0947)
OKLCHoklch(59.81% 0.108 241)
XYZxyz(19.2684, 21.7706, 49.6315)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A87BA #BA6D3A
analogous
#3ABAAD #3A87BA #3A47BA
triadic
#3A87BA #BA3A87 #87BA3A
tetradic
#3A87BA #AD3ABA #BA6D3A #47BA3A
square
#3A87BA #AD3ABA #BA6D3A #47BA3A
split-complementary
#3A87BA #BA3A47 #BAAD3A
monochromatic
#1D435D #2B658B #3A87BA #63A4CE #92BFDD

Accessibility & contrast

On white

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

On black

5.35
#3A87BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A87BA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A87BA#FFFFFF#000000##000000
##3A87BA1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7087BC
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3a87ba;
/* rgb */ color: rgb(58, 135, 186);
/* oklch */ color: oklch(59.8% 0.108 241.0);
Tailwind
colors: {
  custom: {
    50: '#7fa9cf',
    500: '#3a87ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a87ba;
$custom-light: #7fa9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a87ba",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 203.906,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.10833,
    "h": 241
  },
  "luminance": 0.21773
}

Semantic roles & 50–950 ramp

primary
#3A87BA
secondary
#C8A188
accent
#854CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3A87BA

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

Preview Lab → · Contrast checker → · Palette generator →

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