#3F32A4#3F32A4

#3F32A4 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.175 H 280.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#3F32A4
RGBrgb(63, 50, 164)
HSLhsl(247, 53%, 42%)
HSVhsv(247, 70%, 64%)
CMYKcmyk(61.6%, 69.5%, 0%, 35.7%)
CIE-LABlab(29.46, 39.23, -59.61)
CIE-LCHlch(29.46, 71.36, 303.35°)
OKLaboklab(40.86% 0.0318 -0.1718)
OKLCHoklch(40.86% 0.175 280.5)
XYZxyz(9.8892, 6.0176, 35.7551)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F32A4 #97A432
analogous
#325EA4 #3F32A4 #7832A4
triadic
#3F32A4 #A43F32 #32A43F
tetradic
#3F32A4 #A4325E #97A432 #32A478
square
#3F32A4 #A4325E #97A432 #32A478
split-complementary
#3F32A4 #A47832 #5EA432
monochromatic
#1B1546 #2D2475 #3F32A4 #594BC8 #857AD6

Accessibility & contrast

On white

9.53
#3F32A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3F32A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F32A4
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F32A4#FFFFFF#000000##FFFFFF
##3F32A41.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f32a4;
/* rgb */ color: rgb(63, 50, 164);
/* oklch */ color: oklch(40.9% 0.175 280.5);
Tailwind
colors: {
  custom: {
    50: '#806bc0',
    500: '#3f32a4',
    950: '#000000',
  },
}
SCSS
$custom: #3f32a4;
$custom-light: #806bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f32a4",
  "rgb": {
    "r": 63,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 246.842,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40863,
    "c": 0.17471,
    "h": 280.5
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#3F32A4
secondary
#B6BF73
accent
#DD4BCC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F32A4

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

Preview Lab → · Contrast checker → · Palette generator →

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