#3F6AC7#3F6AC7

#3F6AC7 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.2% C 0.153 H 263.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3F6AC7
RGBrgb(63, 106, 199)
HSLhsl(221, 55%, 51%)
HSVhsv(221, 68%, 78%)
CMYKcmyk(68.3%, 46.7%, 0%, 22%)
CIE-LABlab(46.29, 15.99, -52.92)
CIE-LCHlch(46.29, 55.29, 286.81°)
OKLaboklab(54.24% -0.0173 -0.1516)
OKLCHoklch(54.24% 0.153 263.5)
XYZxyz(17.5091, 15.4866, 56.0882)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6AC7 #C79C3F
analogous
#3FAEC7 #3F6AC7 #583FC7
triadic
#3F6AC7 #C73F6A #6AC73F
tetradic
#3F6AC7 #C73FAE #C79C3F #3FC758
square
#3F6AC7 #C73FAE #C79C3F #3FC758
split-complementary
#3F6AC7 #C7583F #AEC73F
monochromatic
#20386C #2D509B #3F6AC7 #6E8FD5 #9EB4E3

Accessibility & contrast

On white

5.12
#3F6AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3F6AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6AC7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6AC7#FFFFFF#000000##FFFFFF
##3F6AC71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A74CA
Deuteranopia (green-blind)
#1D68C5
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f6ac7;
/* rgb */ color: rgb(63, 106, 199);
/* oklch */ color: oklch(54.2% 0.153 263.5);
Tailwind
colors: {
  custom: {
    50: '#8394d8',
    500: '#3f6ac7',
    950: '#000000',
  },
}
SCSS
$custom: #3f6ac7;
$custom-light: #8394d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6ac7",
  "rgb": {
    "r": 63,
    "g": 106,
    "b": 199
  },
  "hsl": {
    "h": 221.029,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54244,
    "c": 0.15255,
    "h": 263.5
  },
  "luminance": 0.15488
}

Semantic roles & 50–950 ramp

primary
#3F6AC7
secondary
#CFBC93
accent
#AF4ADE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F6AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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