#3F3DC1#3F3DC1

#3F3DC1 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.3% C 0.199 H 275.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3F3DC1
RGBrgb(63, 61, 193)
HSLhsl(241, 52%, 50%)
HSVhsv(241, 68%, 76%)
CMYKcmyk(67.4%, 68.4%, 0%, 24.3%)
CIE-LABlab(34.48, 42.24, -68.61)
CIE-LCHlch(34.48, 80.58, 301.62°)
OKLaboklab(45.29% 0.0195 -0.1981)
OKLCHoklch(45.29% 0.199 275.6)
XYZxyz(13.3411, 8.2433, 51.3298)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DC1 #BFC13D
analogous
#3D7DC1 #3F3DC1 #813DC1
triadic
#3F3DC1 #C13F3D #3DC13F
tetradic
#3F3DC1 #C13D7D #BFC13D #3DC181
square
#3F3DC1 #C13D7D #BFC13D #3DC181
split-complementary
#3F3DC1 #C1813D #7DC13D
monochromatic
#212064 #302E92 #3F3DC1 #6D6BD0 #9B99DF

Accessibility & contrast

On white

7.93
#3F3DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3F3DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DC1
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DC1#FFFFFF#000000##FFFFFF
##3F3DC11.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f3dc1;
/* rgb */ color: rgb(63, 61, 193);
/* oklch */ color: oklch(45.3% 0.199 275.6);
Tailwind
colors: {
  custom: {
    50: '#8573d5',
    500: '#3f3dc1',
    950: '#000000',
  },
}
SCSS
$custom: #3f3dc1;
$custom-light: #8573d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3dc1",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 240.909,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.1991,
    "h": 275.6
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#3F3DC1
secondary
#CACB8F
accent
#DB4CD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3F3DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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