#3F87A8#3F87A8

#3F87A8 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.088 H 230.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3F87A8
RGBrgb(63, 135, 168)
HSLhsl(199, 45%, 45%)
HSVhsv(199, 63%, 66%)
CMYKcmyk(62.5%, 19.6%, 0%, 34.1%)
CIE-LABlab(53.18, -12.23, -24.20)
CIE-LCHlch(53.18, 27.11, 243.18°)
OKLaboklab(59.12% -0.0556 -0.0676)
OKLCHoklch(59.12% 0.088 230.6)
XYZxyz(17.7790, 21.2101, 40.1952)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F87A8 #A8603F
analogous
#3FA894 #3F87A8 #3F52A8
triadic
#3F87A8 #A83F87 #87A83F
tetradic
#3F87A8 #943FA8 #A8603F #52A83F
square
#3F87A8 #943FA8 #A8603F #52A83F
split-complementary
#3F87A8 #A83F52 #A8943F
monochromatic
#1E3F4F #2E637B #3F87A8 #61A4C4 #8DBED4

Accessibility & contrast

On white

4.01
#3F87A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#3F87A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F87A8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F87A8#FFFFFF#000000##000000
##3F87A81.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7685AA
Deuteranopia (green-blind)
#687AA8
Tritanopia (blue-blind)
#009092
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3f87a8;
/* rgb */ color: rgb(63, 135, 168);
/* oklch */ color: oklch(59.1% 0.088 230.6);
Tailwind
colors: {
  custom: {
    50: '#7eaac2',
    500: '#3f87a8',
    950: '#000000',
  },
}
SCSS
$custom: #3f87a8;
$custom-light: #7eaac2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f87a8",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 168
  },
  "hsl": {
    "h": 198.857,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.59121,
    "c": 0.08752,
    "h": 230.6
  },
  "luminance": 0.21212
}

Semantic roles & 50–950 ramp

primary
#3F87A8
secondary
#BF9684
accent
#7C53D5
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #3F87A8

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

Preview Lab → · Contrast checker → · Palette generator →

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