#3E2FB9#3E2FB9

#3E2FB9 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.204 H 278.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3E2FB9
RGBrgb(62, 47, 185)
HSLhsl(247, 59%, 45%)
HSVhsv(247, 75%, 73%)
CMYKcmyk(66.5%, 74.6%, 0%, 27.5%)
CIE-LABlab(30.78, 47.49, -69.99)
CIE-LCHlch(30.78, 84.58, 304.15°)
OKLaboklab(42.4% 0.0285 -0.2022)
OKLCHoklch(42.4% 0.204 278)
XYZxyz(11.7572, 6.5589, 46.5359)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FB9 #AAB92F
analogous
#2F65B9 #3E2FB9 #832FB9
triadic
#3E2FB9 #B93E2F #2FB93E
tetradic
#3E2FB9 #B92F65 #AAB92F #2FB983
square
#3E2FB9 #B92F65 #AAB92F #2FB983
split-complementary
#3E2FB9 #B9832F #65B92F
monochromatic
#1D1657 #2E2388 #3E2FB9 #6052D3 #8D83DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E2FB9#FFFFFF#000000##FFFFFF
##3E2FB91.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)
#004EBD
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e2fb9;
/* rgb */ color: rgb(62, 47, 185);
/* oklch */ color: oklch(42.4% 0.204 278.0);
Tailwind
colors: {
  custom: {
    50: '#846acf',
    500: '#3e2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fb9;
$custom-light: #846acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fb9",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 246.522,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.20416,
    "h": 278
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#3E2FB9
secondary
#C0C97B
accent
#E345D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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