#3F4DB6#3F4DB6

#3F4DB6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.165 H 272.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3F4DB6
RGBrgb(63, 77, 182)
HSLhsl(233, 49%, 48%)
HSVhsv(233, 65%, 71%)
CMYKcmyk(65.4%, 57.7%, 0%, 28.6%)
CIE-LABlab(37.37, 28.51, -57.43)
CIE-LCHlch(37.37, 64.12, 296.40°)
OKLaboklab(47.13% 0.0075 -0.1652)
OKLCHoklch(47.13% 0.165 272.6)
XYZxyz(13.1445, 9.7408, 45.4344)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4DB6 #B6A83F
analogous
#3F88B6 #3F4DB6 #6C3FB6
triadic
#3F4DB6 #B63F4D #4DB63F
tetradic
#3F4DB6 #B63F88 #B6A83F #3FB66C
square
#3F4DB6 #B63F88 #B6A83F #3FB66C
split-complementary
#3F4DB6 #B66C3F #88B63F
monochromatic
#20275B #2F3A89 #3F4DB6 #6873CB #959DDA

Accessibility & contrast

On white

7.12
#3F4DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3F4DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4DB6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4DB6#FFFFFF#000000##FFFFFF
##3F4DB61.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f4db6;
/* rgb */ color: rgb(63, 77, 182);
/* oklch */ color: oklch(47.1% 0.165 272.6);
Tailwind
colors: {
  custom: {
    50: '#817ecd',
    500: '#3f4db6',
    950: '#000000',
  },
}
SCSS
$custom: #3f4db6;
$custom-light: #817ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4db6",
  "rgb": {
    "r": 63,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 232.941,
    "s": 48.571,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47125,
    "c": 0.16541,
    "h": 272.6
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#3F4DB6
secondary
#C6BF8B
accent
#C850D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #3F4DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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