#3F3391#3F3391

#3F3391 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.148 H 283.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3F3391
RGBrgb(63, 51, 145)
HSLhsl(248, 48%, 38%)
HSVhsv(248, 65%, 57%)
CMYKcmyk(56.6%, 64.8%, 0%, 43.1%)
CIE-LABlab(28.03, 32.43, -50.35)
CIE-LCHlch(28.03, 59.89, 302.78°)
OKLaboklab(39.32% 0.0333 -0.1446)
OKLCHoklch(39.32% 0.148 283)
XYZxyz(8.3430, 5.4682, 27.3984)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3391 #859133
analogous
#335691 #3F3391 #6E3391
triadic
#3F3391 #913F33 #33913F
tetradic
#3F3391 #913356 #859133 #33916E
square
#3F3391 #913356 #859133 #33916E
split-complementary
#3F3391 #916E33 #569133
monochromatic
#181336 #2B2364 #3F3391 #5344BD #7D71CD

Accessibility & contrast

On white

10.03
#3F3391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F3391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3391
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3391#FFFFFF#000000##FFFFFF
##3F33911.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#184A5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f3391;
/* rgb */ color: rgb(63, 51, 145);
/* oklch */ color: oklch(39.3% 0.148 283.0);
Tailwind
colors: {
  custom: {
    50: '#7c6bb2',
    500: '#3f3391',
    950: '#000000',
  },
}
SCSS
$custom: #3f3391;
$custom-light: #7c6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3391",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 247.66,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39319,
    "c": 0.14842,
    "h": 283
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#3F3391
secondary
#ACB56B
accent
#D850C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3F3391

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

Preview Lab → · Contrast checker → · Palette generator →

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