#3F87A5#3F87A5

#3F87A5 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.0% C 0.085 H 228.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3F87A5
RGBrgb(63, 135, 165)
HSLhsl(198, 45%, 45%)
HSVhsv(198, 62%, 65%)
CMYKcmyk(61.8%, 18.2%, 0%, 35.3%)
CIE-LABlab(53.06, -13.20, -22.65)
CIE-LCHlch(53.06, 26.22, 239.77°)
OKLaboklab(58.99% -0.0567 -0.0632)
OKLCHoklch(58.99% 0.085 228.1)
XYZxyz(17.5028, 21.0996, 38.7402)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F87A5 #A55D3F
analogous
#3FA590 #3F87A5 #3F54A5
triadic
#3F87A5 #A53F87 #87A53F
tetradic
#3F87A5 #903FA5 #A55D3F #54A53F
square
#3F87A5 #903FA5 #A55D3F #54A53F
split-complementary
#3F87A5 #A53F54 #A5903F
monochromatic
#1D3F4C #2E6379 #3F87A5 #5FA5C2 #8CBED3

Accessibility & contrast

On white

4.02
#3F87A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#3F87A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F87A5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F87A5#FFFFFF#000000##000000
##3F87A51.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7785A7
Deuteranopia (green-blind)
#697AA5
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3f87a5;
/* rgb */ color: rgb(63, 135, 165);
/* oklch */ color: oklch(59.0% 0.085 228.1);
Tailwind
colors: {
  custom: {
    50: '#7eaabf',
    500: '#3f87a5',
    950: '#000000',
  },
}
SCSS
$custom: #3f87a5;
$custom-light: #7eaabf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f87a5",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 165
  },
  "hsl": {
    "h": 197.647,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.58985,
    "c": 0.08491,
    "h": 228.1
  },
  "luminance": 0.21101
}

Semantic roles & 50–950 ramp

primary
#3F87A5
secondary
#BE9482
accent
#7953D4
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #3F87A5

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

Preview Lab → · Contrast checker → · Palette generator →

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