#3E32B3#3E32B3

#3E32B3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.194 H 278.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3E32B3
RGBrgb(62, 50, 179)
HSLhsl(246, 56%, 45%)
HSVhsv(246, 72%, 70%)
CMYKcmyk(65.4%, 72.1%, 0%, 29.8%)
CIE-LABlab(30.78, 43.93, -66.43)
CIE-LCHlch(30.78, 79.64, 303.48°)
OKLaboklab(42.22% 0.0278 -0.1918)
OKLCHoklch(42.22% 0.194 278.3)
XYZxyz(11.2613, 6.5591, 43.3117)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E32B3 #A7B332
analogous
#3267B3 #3E32B3 #7E32B3
triadic
#3E32B3 #B33E32 #32B33E
tetradic
#3E32B3 #B33267 #A7B332 #32B37E
square
#3E32B3 #B33267 #A7B332 #32B37E
split-complementary
#3E32B3 #B37E32 #67B332
monochromatic
#1D1753 #2D2583 #3E32B3 #5F53CF #8B83DC

Accessibility & contrast

On white

9.08
#3E32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3E32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E32B3
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E32B3#FFFFFF#000000##FFFFFF
##3E32B31.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e32b3;
/* rgb */ color: rgb(62, 50, 179);
/* oklch */ color: oklch(42.2% 0.194 278.3);
Tailwind
colors: {
  custom: {
    50: '#826ccb',
    500: '#3e32b3',
    950: '#000000',
  },
}
SCSS
$custom: #3e32b3;
$custom-light: #826ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e32b3",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 245.581,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.19379,
    "h": 278.3
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#3E32B3
secondary
#BFC67B
accent
#E048D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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