#3F32AB#3F32AB

#3F32AB is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.184 H 279.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3F32AB
RGBrgb(63, 50, 171)
HSLhsl(246, 55%, 43%)
HSVhsv(246, 71%, 67%)
CMYKcmyk(63.2%, 70.8%, 0%, 32.9%)
CIE-LABlab(30.10, 41.49, -62.76)
CIE-LCHlch(30.10, 75.24, 303.47°)
OKLaboklab(41.52% 0.0307 -0.181)
OKLCHoklch(41.52% 0.184 279.6)
XYZxyz(10.5388, 6.2774, 39.1765)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F32AB #9EAB32
analogous
#3261AB #3F32AB #7B32AB
triadic
#3F32AB #AB3F32 #32AB3F
tetradic
#3F32AB #AB3261 #9EAB32 #32AB7B
square
#3F32AB #AB3261 #9EAB32 #32AB7B
split-complementary
#3F32AB #AB7B32 #61AB32
monochromatic
#1C164C #2E247C #3F32AB #5C4FCB #887ED9

Accessibility & contrast

On white

9.31
#3F32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3F32AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F32AB
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F32AB#FFFFFF#000000##FFFFFF
##3F32AB1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f32ab;
/* rgb */ color: rgb(63, 50, 171);
/* oklch */ color: oklch(41.5% 0.184 279.6);
Tailwind
colors: {
  custom: {
    50: '#816bc5',
    500: '#3f32ab',
    950: '#000000',
  },
}
SCSS
$custom: #3f32ab;
$custom-light: #816bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f32ab",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 246.446,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.18361,
    "h": 279.6
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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