#3F87AF#3F87AF

#3F87AF is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.4% C 0.094 H 235.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#3F87AF
RGBrgb(63, 135, 175)
HSLhsl(201, 47%, 47%)
HSVhsv(201, 64%, 69%)
CMYKcmyk(64%, 22.9%, 0%, 31.4%)
CIE-LABlab(53.47, -9.94, -27.78)
CIE-LCHlch(53.47, 29.50, 250.32°)
OKLaboklab(59.45% -0.053 -0.0779)
OKLCHoklch(59.45% 0.094 235.8)
XYZxyz(18.4488, 21.4780, 43.7225)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F87AF #AF673F
analogous
#3FAF9F #3F87AF #3F4FAF
triadic
#3F87AF #AF3F87 #87AF3F
tetradic
#3F87AF #9F3FAF #AF673F #4FAF3F
square
#3F87AF #9F3FAF #AF673F #4FAF3F
split-complementary
#3F87AF #AF3F4F #AF9F3F
monochromatic
#1F4255 #2F6482 #3F87AF #64A4C7 #91BED7

Accessibility & contrast

On white

3.97
#3F87AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#3F87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F87AF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F87AF#FFFFFF#000000##000000
##3F87AF1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7486B1
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#009194
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3f87af;
/* rgb */ color: rgb(63, 135, 175);
/* oklch */ color: oklch(59.4% 0.094 235.8);
Tailwind
colors: {
  custom: {
    50: '#7fa9c7',
    500: '#3f87af',
    950: '#000000',
  },
}
SCSS
$custom: #3f87af;
$custom-light: #7fa9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f87af",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 201.429,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.59447,
    "c": 0.09421,
    "h": 235.8
  },
  "luminance": 0.2148
}

Semantic roles & 50–950 ramp

primary
#3F87AF
secondary
#C39C87
accent
#8151D7
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3F87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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