#3F6FD4#3F6FD4

#3F6FD4 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.2% C 0.164 H 263.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3F6FD4
RGBrgb(63, 111, 212)
HSLhsl(221, 63%, 54%)
HSVhsv(221, 70%, 83%)
CMYKcmyk(70.3%, 47.6%, 0%, 16.9%)
CIE-LABlab(48.48, 17.53, -56.84)
CIE-LCHlch(48.48, 59.48, 287.14°)
OKLaboklab(56.18% -0.0198 -0.163)
OKLCHoklch(56.18% 0.164 263.1)
XYZxyz(19.6138, 17.1771, 64.5564)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6FD4 #D4A43F
analogous
#3FBAD4 #3F6FD4 #5A3FD4
triadic
#3F6FD4 #D43F6F #6FD43F
tetradic
#3F6FD4 #D43FBA #D4A43F #3FD45A
square
#3F6FD4 #D43FBA #D4A43F #3FD45A
split-complementary
#3F6FD4 #D45A3F #BAD43F
monochromatic
#1C3B7D #2753AF #3F6FD4 #7195DF #A3BAEA

Accessibility & contrast

On white

4.73
#3F6FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3F6FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6FD4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6FD4#FFFFFF#000000##FFFFFF
##3F6FD41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#387AD8
Deuteranopia (green-blind)
#106DD2
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3f6fd4;
/* rgb */ color: rgb(63, 111, 212);
/* oklch */ color: oklch(56.2% 0.164 263.1);
Tailwind
colors: {
  custom: {
    50: '#8597e2',
    500: '#3f6fd4',
    950: '#000000',
  },
}
SCSS
$custom: #3f6fd4;
$custom-light: #8597e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6fd4",
  "rgb": {
    "r": 63,
    "g": 111,
    "b": 212
  },
  "hsl": {
    "h": 220.671,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56182,
    "c": 0.16422,
    "h": 263.1
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#3F6FD4
secondary
#D7C398
accent
#B141E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F6FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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