#3E2FBA#3E2FBA

#3E2FBA is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.205 H 277.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3E2FBA
RGBrgb(62, 47, 186)
HSLhsl(246, 60%, 46%)
HSVhsv(246, 75%, 73%)
CMYKcmyk(66.7%, 74.7%, 0%, 27.1%)
CIE-LABlab(30.88, 47.80, -70.42)
CIE-LCHlch(30.88, 85.11, 304.17°)
OKLaboklab(42.5% 0.0283 -0.2034)
OKLCHoklch(42.5% 0.205 277.9)
XYZxyz(11.8632, 6.6013, 47.0939)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FBA #ABBA2F
analogous
#2F65BA #3E2FBA #832FBA
triadic
#3E2FBA #BA3E2F #2FBA3E
tetradic
#3E2FBA #BA2F65 #ABBA2F #2FBA83
square
#3E2FBA #BA2F65 #ABBA2F #2FBA83
split-complementary
#3E2FBA #BA832F #65BA2F
monochromatic
#1D1658 #2E2389 #3E2FBA #6153D3 #8E84E0

Accessibility & contrast

On white

9.05
#3E2FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3E2FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FBA
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FBA#FFFFFF#000000##FFFFFF
##3E2FBA1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0043B7
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3e2fba;
/* rgb */ color: rgb(62, 47, 186);
/* oklch */ color: oklch(42.5% 0.205 277.9);
Tailwind
colors: {
  custom: {
    50: '#846ad0',
    500: '#3e2fba',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fba;
$custom-light: #846ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fba",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 246.475,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42496,
    "c": 0.20537,
    "h": 277.9
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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