#3F4DC4#3F4DC4

#3F4DC4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.3% C 0.184 H 272.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3F4DC4
RGBrgb(63, 77, 196)
HSLhsl(234, 53%, 51%)
HSVhsv(234, 68%, 77%)
CMYKcmyk(67.9%, 60.7%, 0%, 23.1%)
CIE-LABlab(38.46, 33.42, -63.86)
CIE-LCHlch(38.46, 72.08, 297.63°)
OKLaboklab(48.27% 0.0075 -0.1841)
OKLCHoklch(48.27% 0.184 272.3)
XYZxyz(14.6642, 10.3487, 53.4385)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4DC4 #C4B63F
analogous
#3F8FC4 #3F4DC4 #733FC4
triadic
#3F4DC4 #C43F4D #4DC43F
tetradic
#3F4DC4 #C43F8F #C4B63F #3FC473
square
#3F4DC4 #C43F8F #C4B63F #3FC473
split-complementary
#3F4DC4 #C4733F #8FC43F
monochromatic
#202868 #2E3A97 #3F4DC4 #6E78D2 #9DA4E1

Accessibility & contrast

On white

6.84
#3F4DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3F4DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4DC4
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4DC4#FFFFFF#000000##FFFFFF
##3F4DC41.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f4dc4;
/* rgb */ color: rgb(63, 77, 196);
/* oklch */ color: oklch(48.3% 0.184 272.3);
Tailwind
colors: {
  custom: {
    50: '#847ed7',
    500: '#3f4dc4',
    950: '#000000',
  },
}
SCSS
$custom: #3f4dc4;
$custom-light: #847ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4dc4",
  "rgb": {
    "r": 63,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 233.684,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48273,
    "c": 0.18429,
    "h": 272.3
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#3F4DC4
secondary
#CDC792
accent
#CD4BDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F4DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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