#3F4DC6#3F4DC6

#3F4DC6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.187 H 272.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3F4DC6
RGBrgb(63, 77, 198)
HSLhsl(234, 54%, 51%)
HSVhsv(234, 68%, 78%)
CMYKcmyk(68.2%, 61.1%, 0%, 22.4%)
CIE-LABlab(38.62, 34.12, -64.76)
CIE-LCHlch(38.62, 73.20, 297.78°)
OKLaboklab(48.44% 0.0074 -0.1868)
OKLCHoklch(48.44% 0.187 272.3)
XYZxyz(14.8934, 10.4403, 54.6454)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4DC6 #C6B83F
analogous
#3F90C6 #3F4DC6 #743FC6
triadic
#3F4DC6 #C63F4D #4DC63F
tetradic
#3F4DC6 #C63F90 #C6B83F #3FC674
square
#3F4DC6 #C63F90 #C6B83F #3FC674
split-complementary
#3F4DC6 #C6743F #90C63F
monochromatic
#20286B #2E399A #3F4DC6 #6E79D4 #9DA4E2

Accessibility & contrast

On white

6.80
#3F4DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3F4DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4DC6
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4DC6#FFFFFF#000000##FFFFFF
##3F4DC61.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f4dc6;
/* rgb */ color: rgb(63, 77, 198);
/* oklch */ color: oklch(48.4% 0.187 272.3);
Tailwind
colors: {
  custom: {
    50: '#857ed8',
    500: '#3f4dc6',
    950: '#000000',
  },
}
SCSS
$custom: #3f4dc6;
$custom-light: #857ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4dc6",
  "rgb": {
    "r": 63,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 233.778,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48442,
    "c": 0.18694,
    "h": 272.3
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#3F4DC6
secondary
#CEC893
accent
#CE4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3F4DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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