#3F87B2#3F87B2

#3F87B2 is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.6% C 0.097 H 237.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#3F87B2
RGBrgb(63, 135, 178)
HSLhsl(202, 48%, 47%)
HSVhsv(202, 65%, 70%)
CMYKcmyk(64.6%, 24.2%, 0%, 30.2%)
CIE-LABlab(53.60, -8.94, -29.30)
CIE-LCHlch(53.60, 30.63, 253.04°)
OKLaboklab(59.59% -0.052 -0.0823)
OKLCHoklch(59.59% 0.097 237.7)
XYZxyz(18.7467, 21.5972, 45.2916)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F87B2 #B26A3F
analogous
#3FB2A4 #3F87B2 #3F4DB2
triadic
#3F87B2 #B23F87 #87B23F
tetradic
#3F87B2 #A43FB2 #B26A3F #4DB23F
square
#3F87B2 #A43FB2 #B26A3F #4DB23F
split-complementary
#3F87B2 #B23F4D #B2A43F
monochromatic
#1F4258 #2F6585 #3F87B2 #66A4C9 #93BFD9

Accessibility & contrast

On white

3.95
#3F87B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#3F87B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F87B2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F87B2#FFFFFF#000000##000000
##3F87B21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B4
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3f87b2;
/* rgb */ color: rgb(63, 135, 178);
/* oklch */ color: oklch(59.6% 0.097 237.7);
Tailwind
colors: {
  custom: {
    50: '#80a9c9',
    500: '#3f87b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f87b2;
$custom-light: #80a9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f87b2",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 202.435,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.59592,
    "c": 0.0973,
    "h": 237.7
  },
  "luminance": 0.21599
}

Semantic roles & 50–950 ramp

primary
#3F87B2
secondary
#C49F89
accent
#8350D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3F87B2

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

Preview Lab → · Contrast checker → · Palette generator →

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