#3F4DC2#3F4DC2

#3F4DC2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.182 H 272.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3F4DC2
RGBrgb(63, 77, 194)
HSLhsl(234, 52%, 50%)
HSVhsv(234, 68%, 76%)
CMYKcmyk(67.5%, 60.3%, 0%, 23.9%)
CIE-LABlab(38.30, 32.72, -62.95)
CIE-LCHlch(38.30, 70.95, 297.47°)
OKLaboklab(48.11% 0.0075 -0.1815)
OKLCHoklch(48.11% 0.182 272.4)
XYZxyz(14.4381, 10.2582, 52.2476)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4DC2 #C2B43F
analogous
#3F8EC2 #3F4DC2 #723FC2
triadic
#3F4DC2 #C23F4D #4DC23F
tetradic
#3F4DC2 #C23F8E #C2B43F #3FC272
square
#3F4DC2 #C23F8E #C2B43F #3FC272
split-complementary
#3F4DC2 #C2723F #8EC23F
monochromatic
#202866 #2F3A95 #3F4DC2 #6D78D1 #9CA3E0

Accessibility & contrast

On white

6.88
#3F4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3F4DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4DC2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4DC2#FFFFFF#000000##FFFFFF
##3F4DC21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f4dc2;
/* rgb */ color: rgb(63, 77, 194);
/* oklch */ color: oklch(48.1% 0.182 272.4);
Tailwind
colors: {
  custom: {
    50: '#847ed5',
    500: '#3f4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #3f4dc2;
$custom-light: #847ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4dc2",
  "rgb": {
    "r": 63,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 233.588,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48106,
    "c": 0.18164,
    "h": 272.4
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#3F4DC2
secondary
#CCC591
accent
#CC4DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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