#3F6CC7#3F6CC7

#3F6CC7 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.7% C 0.150 H 262.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3F6CC7
RGBrgb(63, 108, 199)
HSLhsl(220, 55%, 51%)
HSVhsv(220, 68%, 78%)
CMYKcmyk(68.3%, 45.7%, 0%, 22%)
CIE-LABlab(46.85, 14.73, -52.03)
CIE-LCHlch(46.85, 54.08, 285.80°)
OKLaboklab(54.67% -0.0191 -0.1489)
OKLCHoklch(54.67% 0.15 262.7)
XYZxyz(17.7176, 15.9036, 56.1577)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6CC7 #C79A3F
analogous
#3FB0C7 #3F6CC7 #563FC7
triadic
#3F6CC7 #C73F6C #6CC73F
tetradic
#3F6CC7 #C73FB0 #C79A3F #3FC756
square
#3F6CC7 #C73FB0 #C79A3F #3FC756
split-complementary
#3F6CC7 #C7563F #B0C73F
monochromatic
#20396C #2D529B #3F6CC7 #6E90D5 #9EB5E3

Accessibility & contrast

On white

5.02
#3F6CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3F6CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6CC7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6CC7#FFFFFF#000000##FFFFFF
##3F6CC71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CA
Deuteranopia (green-blind)
#2369C5
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f6cc7;
/* rgb */ color: rgb(63, 108, 199);
/* oklch */ color: oklch(54.7% 0.150 262.7);
Tailwind
colors: {
  custom: {
    50: '#8395d8',
    500: '#3f6cc7',
    950: '#000000',
  },
}
SCSS
$custom: #3f6cc7;
$custom-light: #8395d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6cc7",
  "rgb": {
    "r": 63,
    "g": 108,
    "b": 199
  },
  "hsl": {
    "h": 220.147,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54669,
    "c": 0.15014,
    "h": 262.7
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#3F6CC7
secondary
#CFBB93
accent
#AD4ADE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3F6CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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