#3F4BC6#3F4BC6

#3F4BC6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.189 H 272.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#3F4BC6
RGBrgb(63, 75, 198)
HSLhsl(235, 54%, 51%)
HSVhsv(235, 68%, 78%)
CMYKcmyk(68.2%, 62.1%, 0%, 22.4%)
CIE-LABlab(38.14, 35.38, -65.55)
CIE-LCHlch(38.14, 74.49, 298.36°)
OKLaboklab(48.08% 0.009 -0.1891)
OKLCHoklch(48.08% 0.189 272.7)
XYZxyz(14.7556, 10.1647, 54.5995)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4BC6 #C6BA3F
analogous
#3F8EC6 #3F4BC6 #763FC6
triadic
#3F4BC6 #C63F4B #4BC63F
tetradic
#3F4BC6 #C63F8E #C6BA3F #3FC676
square
#3F4BC6 #C63F8E #C6BA3F #3FC676
split-complementary
#3F4BC6 #C6763F #8EC63F
monochromatic
#20266B #2E379A #3F4BC6 #6E77D4 #9DA3E2

Accessibility & contrast

On white

6.92
#3F4BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3F4BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4BC6
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4BC6#FFFFFF#000000##FFFFFF
##3F4BC61.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f4bc6;
/* rgb */ color: rgb(63, 75, 198);
/* oklch */ color: oklch(48.1% 0.189 272.7);
Tailwind
colors: {
  custom: {
    50: '#857dd8',
    500: '#3f4bc6',
    950: '#000000',
  },
}
SCSS
$custom: #3f4bc6;
$custom-light: #857dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4bc6",
  "rgb": {
    "r": 63,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 234.667,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48084,
    "c": 0.18934,
    "h": 272.7
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#3F4BC6
secondary
#CEC993
accent
#D04ADE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3F4BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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