#3F4FD4#3F4FD4

#3F4FD4 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.0% C 0.203 H 271.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3F4FD4
RGBrgb(63, 79, 212)
HSLhsl(234, 63%, 54%)
HSVhsv(234, 70%, 83%)
CMYKcmyk(70.3%, 62.7%, 0%, 16.9%)
CIE-LABlab(40.25, 37.74, -70.20)
CIE-LCHlch(40.25, 79.70, 298.27°)
OKLaboklab(49.99% 0.0055 -0.2027)
OKLCHoklch(49.99% 0.203 271.5)
XYZxyz(16.7255, 11.4005, 63.5937)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4FD4 #D4C43F
analogous
#3F9AD4 #3F4FD4 #7A3FD4
triadic
#3F4FD4 #D43F4F #4FD43F
tetradic
#3F4FD4 #D43F9A #D4C43F #3FD47A
square
#3F4FD4 #D43F9A #D4C43F #3FD47A
split-complementary
#3F4FD4 #D47A3F #9AD43F
monochromatic
#1C267D #2736AF #3F4FD4 #717DDF #A3ABEA

Accessibility & contrast

On white

6.40
#3F4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3F4FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4FD4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4FD4#FFFFFF#000000##FFFFFF
##3F4FD41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0058D1
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f4fd4;
/* rgb */ color: rgb(63, 79, 212);
/* oklch */ color: oklch(50.0% 0.203 271.5);
Tailwind
colors: {
  custom: {
    50: '#8780e2',
    500: '#3f4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #3f4fd4;
$custom-light: #8780e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4fd4",
  "rgb": {
    "r": 63,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 233.557,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49994,
    "c": 0.20279,
    "h": 271.5
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#3F4FD4
secondary
#D7D098
accent
#D541E6
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #3F4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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