#3F87CC#3F87CC

#3F87CC is a mid, vivid cyan. Relative luminance 0.227; OKLCH L 60.9% C 0.128 H 249.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#3F87CC
RGBrgb(63, 135, 204)
HSLhsl(209, 58%, 52%)
HSVhsv(209, 69%, 80%)
CMYKcmyk(69.1%, 33.8%, 0%, 20%)
CIE-LABlab(54.81, -0.03, -42.22)
CIE-LCHlch(54.81, 42.22, 269.96°)
OKLaboklab(60.94% -0.0439 -0.1198)
OKLCHoklch(60.94% 0.128 249.9)
XYZxyz(21.6089, 22.7420, 60.3659)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F87CC #CC843F
analogous
#3FCCCB #3F87CC #3F40CC
triadic
#3F87CC #CC3F87 #87CC3F
tetradic
#3F87CC #CB3FCC #CC843F #40CC3F
square
#3F87CC #CB3FCC #CC843F #40CC3F
split-complementary
#3F87CC #CC3F40 #CCCB3F
monochromatic
#1E4972 #2B68A3 #3F87CC #6FA5D9 #A0C3E6

Accessibility & contrast

On white

3.78
#3F87CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#3F87CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F87CC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F87CC#FFFFFF#000000##000000
##3F87CC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f87cc;
/* rgb */ color: rgb(63, 135, 204);
/* oklch */ color: oklch(60.9% 0.128 249.9);
Tailwind
colors: {
  custom: {
    50: '#84a9dc',
    500: '#3f87cc',
    950: '#000000',
  },
}
SCSS
$custom: #3f87cc;
$custom-light: #84a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f87cc",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 209.362,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.12756,
    "h": 249.9
  },
  "luminance": 0.22744
}

Semantic roles & 50–950 ramp

primary
#3F87CC
secondary
#D2B395
accent
#9247E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3F87CC

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

Preview Lab → · Contrast checker → · Palette generator →

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