#3F6CD6#3F6CD6

#3F6CD6 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.7% C 0.171 H 264.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3F6CD6
RGBrgb(63, 108, 214)
HSLhsl(222, 65%, 54%)
HSVhsv(222, 71%, 84%)
CMYKcmyk(70.6%, 49.5%, 0%, 16.1%)
CIE-LABlab(47.80, 20.14, -59.08)
CIE-LCHlch(47.80, 62.42, 288.82°)
OKLaboklab(55.7% -0.017 -0.1697)
OKLCHoklch(55.7% 0.171 264.3)
XYZxyz(19.5458, 16.6349, 65.7861)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6CD6 #D6A93F
analogous
#3FB8D6 #3F6CD6 #5E3FD6
triadic
#3F6CD6 #D63F6C #6CD63F
tetradic
#3F6CD6 #D63FB8 #D6A93F #3FD65E
square
#3F6CD6 #D63FB8 #D6A93F #3FD65E
split-complementary
#3F6CD6 #D65E3F #B8D63F
monochromatic
#1B397F #2650B2 #3F6CD6 #7193E1 #A4B9EC

Accessibility & contrast

On white

4.85
#3F6CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3F6CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6CD6
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6CD6#FFFFFF#000000##FFFFFF
##3F6CD61.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E79DA
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f6cd6;
/* rgb */ color: rgb(63, 108, 214);
/* oklch */ color: oklch(55.7% 0.171 264.3);
Tailwind
colors: {
  custom: {
    50: '#8695e3',
    500: '#3f6cd6',
    950: '#000000',
  },
}
SCSS
$custom: #3f6cd6;
$custom-light: #8695e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6cd6",
  "rgb": {
    "r": 63,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 222.119,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.557,
    "c": 0.17052,
    "h": 264.3
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#3F6CD6
secondary
#D8C598
accent
#B640E8
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0D0D15
muted
#7D7E84

Preview Lab

Preview with #3F6CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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