#3F87B7#3F87B7

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

Color values

HEX#3F87B7
RGBrgb(63, 135, 183)
HSLhsl(204, 49%, 48%)
HSVhsv(204, 66%, 72%)
CMYKcmyk(65.6%, 26.2%, 0%, 28.2%)
CIE-LABlab(53.82, -7.26, -31.83)
CIE-LCHlch(53.82, 32.64, 257.15°)
OKLaboklab(59.84% -0.0503 -0.0895)
OKLCHoklch(59.84% 0.103 240.7)
XYZxyz(19.2579, 21.8016, 47.9838)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F87B7 #B76F3F
analogous
#3FB7AB #3F87B7 #3F4BB7
triadic
#3F87B7 #B73F87 #87B73F
tetradic
#3F87B7 #AB3FB7 #B76F3F #4BB73F
square
#3F87B7 #AB3FB7 #B76F3F #4BB73F
split-complementary
#3F87B7 #B73F4B #B7AB3F
monochromatic
#20445C #2F6589 #3F87B7 #68A3CB #96BFDB

Accessibility & contrast

On white

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

On black

5.36
#3F87B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F87B7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F87B7#FFFFFF#000000##000000
##3F87B71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7187B9
Deuteranopia (green-blind)
#617BB6
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3f87b7;
/* rgb */ color: rgb(63, 135, 183);
/* oklch */ color: oklch(59.8% 0.103 240.7);
Tailwind
colors: {
  custom: {
    50: '#80a9cc',
    500: '#3f87b7',
    950: '#000000',
  },
}
SCSS
$custom: #3f87b7;
$custom-light: #80a9cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f87b7",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 183
  },
  "hsl": {
    "h": 204,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59837,
    "c": 0.1027,
    "h": 240.7
  },
  "luminance": 0.21804
}

Semantic roles & 50–950 ramp

primary
#3F87B7
secondary
#C6A38B
accent
#864FD8
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3F87B7

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

Preview Lab → · Contrast checker → · Palette generator →

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