#3F6BD8#3F6BD8

#3F6BD8 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.6% C 0.174 H 264.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3F6BD8
RGBrgb(63, 107, 216)
HSLhsl(223, 66%, 55%)
HSVhsv(223, 71%, 85%)
CMYKcmyk(70.8%, 50.5%, 0%, 15.3%)
CIE-LABlab(47.66, 21.49, -60.44)
CIE-LCHlch(47.66, 64.15, 289.58°)
OKLaboklab(55.64% -0.0159 -0.1737)
OKLCHoklch(55.64% 0.174 264.8)
XYZxyz(19.6979, 16.5280, 67.1045)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6BD8 #D8AC3F
analogous
#3FB8D8 #3F6BD8 #603FD8
triadic
#3F6BD8 #D83F6B #6BD83F
tetradic
#3F6BD8 #D83FB8 #D8AC3F #3FD860
square
#3F6BD8 #D83FB8 #D8AC3F #3FD860
split-complementary
#3F6BD8 #D8603F #B8D83F
monochromatic
#1A3882 #254EB5 #3F6BD8 #7292E2 #A5B9ED

Accessibility & contrast

On white

4.88
#3F6BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3F6BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6BD8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6BD8#FFFFFF#000000##FFFFFF
##3F6BD81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2878DC
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3f6bd8;
/* rgb */ color: rgb(63, 107, 216);
/* oklch */ color: oklch(55.6% 0.174 264.8);
Tailwind
colors: {
  custom: {
    50: '#8694e5',
    500: '#3f6bd8',
    950: '#000000',
  },
}
SCSS
$custom: #3f6bd8;
$custom-light: #8694e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6bd8",
  "rgb": {
    "r": 63,
    "g": 107,
    "b": 216
  },
  "hsl": {
    "h": 222.745,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.17441,
    "h": 264.8
  },
  "luminance": 0.1653
}

Semantic roles & 50–950 ramp

primary
#3F6BD8
secondary
#DAC799
accent
#B83FE9
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3F6BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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