#3F3192#3F3192

#3F3192 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.152 H 283.4°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3F3192
RGBrgb(63, 49, 146)
HSLhsl(249, 50%, 38%)
HSVhsv(249, 66%, 57%)
CMYKcmyk(56.8%, 66.4%, 0%, 42.7%)
CIE-LABlab(27.65, 33.99, -51.59)
CIE-LCHlch(27.65, 61.78, 303.38°)
OKLaboklab(39.07% 0.0352 -0.1483)
OKLCHoklch(39.07% 0.152 283.4)
XYZxyz(8.3349, 5.3282, 27.7778)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3192 #849231
analogous
#315392 #3F3192 #6F3192
triadic
#3F3192 #923F31 #31923F
tetradic
#3F3192 #923153 #849231 #31926F
square
#3F3192 #923153 #849231 #31926F
split-complementary
#3F3192 #926F31 #539231
monochromatic
#171236 #2B2264 #3F3192 #5341BF #7D6FCF

Accessibility & contrast

On white

10.17
#3F3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3F3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3192
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3192#FFFFFF#000000##FFFFFF
##3F31921.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#17495D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f3192;
/* rgb */ color: rgb(63, 49, 146);
/* oklch */ color: oklch(39.1% 0.152 283.4);
Tailwind
colors: {
  custom: {
    50: '#7d6ab3',
    500: '#3f3192',
    950: '#000000',
  },
}
SCSS
$custom: #3f3192;
$custom-light: #7d6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3192",
  "rgb": {
    "r": 63,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 248.66,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3907,
    "c": 0.15238,
    "h": 283.4
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#3F3192
secondary
#ABB669
accent
#D94FC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3F3192

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

Preview Lab → · Contrast checker → · Palette generator →

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