#3F6ED7#3F6ED7

#3F6ED7 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.2% C 0.169 H 263.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3F6ED7
RGBrgb(63, 110, 215)
HSLhsl(221, 66%, 55%)
HSVhsv(221, 71%, 84%)
CMYKcmyk(70.7%, 48.8%, 0%, 15.7%)
CIE-LABlab(48.40, 19.24, -58.68)
CIE-LCHlch(48.40, 61.75, 288.15°)
OKLaboklab(56.18% -0.0186 -0.1684)
OKLCHoklch(56.18% 0.169 263.7)
XYZxyz(19.8872, 17.1128, 66.5318)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6ED7 #D7A83F
analogous
#3FBAD7 #3F6ED7 #5C3FD7
triadic
#3F6ED7 #D73F6E #6ED73F
tetradic
#3F6ED7 #D73FBA #D7A83F #3FD75C
square
#3F6ED7 #D73FBA #D7A83F #3FD75C
split-complementary
#3F6ED7 #D75C3F #BAD73F
monochromatic
#1B3A81 #2551B3 #3F6ED7 #7294E2 #A4BBEC

Accessibility & contrast

On white

4.75
#3F6ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3F6ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6ED7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6ED7#FFFFFF#000000##FFFFFF
##3F6ED71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#327ADB
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#008798
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3f6ed7;
/* rgb */ color: rgb(63, 110, 215);
/* oklch */ color: oklch(56.2% 0.169 263.7);
Tailwind
colors: {
  custom: {
    50: '#8697e4',
    500: '#3f6ed7',
    950: '#000000',
  },
}
SCSS
$custom: #3f6ed7;
$custom-light: #8697e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6ed7",
  "rgb": {
    "r": 63,
    "g": 110,
    "b": 215
  },
  "hsl": {
    "h": 221.447,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56182,
    "c": 0.16946,
    "h": 263.7
  },
  "luminance": 0.17115
}

Semantic roles & 50–950 ramp

primary
#3F6ED7
secondary
#D9C599
accent
#B43FE8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3F6ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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