#3F3EC8#3F3EC8

#3F3EC8 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.1% C 0.207 H 275.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#3F3EC8
RGBrgb(63, 62, 200)
HSLhsl(240, 56%, 51%)
HSVhsv(240, 69%, 78%)
CMYKcmyk(68.5%, 69%, 0%, 21.6%)
CIE-LABlab(35.34, 43.97, -71.30)
CIE-LCHlch(35.34, 83.77, 301.66°)
OKLaboklab(46.1% 0.0179 -0.206)
OKLCHoklch(46.1% 0.207 275)
XYZxyz(14.1944, 8.6708, 55.5580)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3EC8 #C7C83E
analogous
#3E82C8 #3F3EC8 #843EC8
triadic
#3F3EC8 #C83F3E #3EC83F
tetradic
#3F3EC8 #C83E82 #C7C83E #3EC884
square
#3F3EC8 #C83E82 #C7C83E #3EC884
split-complementary
#3F3EC8 #C8843E #82C83E
monochromatic
#201F6D #2D2D9C #3F3EC8 #6E6ED6 #9E9DE3

Accessibility & contrast

On white

7.68
#3F3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3F3EC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3EC8
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3EC8#FFFFFF#000000##FFFFFF
##3F3EC81.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f3ec8;
/* rgb */ color: rgb(63, 62, 200);
/* oklch */ color: oklch(46.1% 0.207 275.0);
Tailwind
colors: {
  custom: {
    50: '#8674da',
    500: '#3f3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ec8;
$custom-light: #8674da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ec8",
  "rgb": {
    "r": 63,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 240.435,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.20677,
    "h": 275
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#3F3EC8
secondary
#CFCF92
accent
#DF49DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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