#3F32AA#3F32AA

#3F32AA is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.182 H 279.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3F32AA
RGBrgb(63, 50, 170)
HSLhsl(247, 55%, 43%)
HSVhsv(247, 71%, 67%)
CMYKcmyk(62.9%, 70.6%, 0%, 33.3%)
CIE-LABlab(30.01, 41.17, -62.32)
CIE-LCHlch(30.01, 74.69, 303.45°)
OKLaboklab(41.43% 0.0308 -0.1797)
OKLCHoklch(41.43% 0.182 279.7)
XYZxyz(10.4439, 6.2395, 38.6764)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F32AA #9DAA32
analogous
#3261AA #3F32AA #7B32AA
triadic
#3F32AA #AA3F32 #32AA3F
tetradic
#3F32AA #AA3261 #9DAA32 #32AA7B
square
#3F32AA #AA3261 #9DAA32 #32AA7B
split-complementary
#3F32AA #AA7B32 #61AA32
monochromatic
#1C164B #2D247B #3F32AA #5C4ECB #877DD9

Accessibility & contrast

On white

9.34
#3F32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3F32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F32AA
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F32AA#FFFFFF#000000##FFFFFF
##3F32AA1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f32aa;
/* rgb */ color: rgb(63, 50, 170);
/* oklch */ color: oklch(41.4% 0.182 279.7);
Tailwind
colors: {
  custom: {
    50: '#816bc4',
    500: '#3f32aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f32aa;
$custom-light: #816bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f32aa",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 246.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.18234,
    "h": 279.7
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#3F32AA
secondary
#BAC276
accent
#DE4ACE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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