#3B87CC#3B87CC

#3B87CC is a mid, vivid cyan. Relative luminance 0.226; OKLCH L 60.8% C 0.129 H 248.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#3B87CC
RGBrgb(59, 135, 204)
HSLhsl(209, 59%, 52%)
HSVhsv(209, 71%, 80%)
CMYKcmyk(71.1%, 33.8%, 0%, 20%)
CIE-LABlab(54.67, -0.63, -42.44)
CIE-LCHlch(54.67, 42.44, 269.15°)
OKLaboklab(60.8% -0.0465 -0.1204)
OKLCHoklch(60.8% 0.129 248.9)
XYZxyz(21.3626, 22.6150, 60.3543)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B87CC #CC803B
analogous
#3BCCC9 #3B87CC #3B3FCC
triadic
#3B87CC #CC3B87 #87CC3B
tetradic
#3B87CC #C93BCC #CC803B #3FCC3B
square
#3B87CC #C93BCC #CC803B #3FCC3B
split-complementary
#3B87CC #CC3B3F #CCC93B
monochromatic
#1D4870 #2A68A0 #3B87CC #6CA5D9 #9CC2E5

Accessibility & contrast

On white

3.80
#3B87CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#3B87CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B87CC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B87CC#FFFFFF#000000##000000
##3B87CC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #3b87cc;
/* rgb */ color: rgb(59, 135, 204);
/* oklch */ color: oklch(60.8% 0.129 248.9);
Tailwind
colors: {
  custom: {
    50: '#82a9dc',
    500: '#3b87cc',
    950: '#000000',
  },
}
SCSS
$custom: #3b87cc;
$custom-light: #82a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b87cc",
  "rgb": {
    "r": 59,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 208.552,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.1291,
    "h": 248.9
  },
  "luminance": 0.22617
}

Semantic roles & 50–950 ramp

primary
#3B87CC
secondary
#D1B092
accent
#9046E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3B87CC

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

Preview Lab → · Contrast checker → · Palette generator →

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