#3F4FC6#3F4FC6

#3F4FC6 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.185 H 271.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#3F4FC6
RGBrgb(63, 79, 198)
HSLhsl(233, 54%, 51%)
HSVhsv(233, 68%, 78%)
CMYKcmyk(68.2%, 60.1%, 0%, 22.4%)
CIE-LABlab(39.11, 32.86, -63.96)
CIE-LCHlch(39.11, 71.91, 297.19°)
OKLaboklab(48.81% 0.0059 -0.1844)
OKLCHoklch(48.81% 0.185 271.8)
XYZxyz(15.0355, 10.7245, 54.6928)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4FC6 #C6B63F
analogous
#3F92C6 #3F4FC6 #723FC6
triadic
#3F4FC6 #C63F4F #4FC63F
tetradic
#3F4FC6 #C63F92 #C6B63F #3FC672
square
#3F4FC6 #C63F92 #C6B63F #3FC672
split-complementary
#3F4FC6 #C6723F #92C63F
monochromatic
#20296B #2E3B9A #3F4FC6 #6E7AD4 #9DA6E2

Accessibility & contrast

On white

6.68
#3F4FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3F4FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4FC6
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4FC6#FFFFFF#000000##FFFFFF
##3F4FC61.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f4fc6;
/* rgb */ color: rgb(63, 79, 198);
/* oklch */ color: oklch(48.8% 0.185 271.8);
Tailwind
colors: {
  custom: {
    50: '#8480d8',
    500: '#3f4fc6',
    950: '#000000',
  },
}
SCSS
$custom: #3f4fc6;
$custom-light: #8480d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4fc6",
  "rgb": {
    "r": 63,
    "g": 79,
    "b": 198
  },
  "hsl": {
    "h": 232.889,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48805,
    "c": 0.18451,
    "h": 271.8
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#3F4FC6
secondary
#CEC793
accent
#CC4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3F4FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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