#3E2FB8#3E2FB8

#3E2FB8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.203 H 278.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#3E2FB8
RGBrgb(62, 47, 184)
HSLhsl(247, 59%, 45%)
HSVhsv(247, 74%, 72%)
CMYKcmyk(66.3%, 74.5%, 0%, 27.8%)
CIE-LABlab(30.68, 47.17, -69.57)
CIE-LCHlch(30.68, 84.05, 304.14°)
OKLaboklab(42.29% 0.0287 -0.2009)
OKLCHoklch(42.29% 0.203 278.1)
XYZxyz(11.6521, 6.5169, 45.9819)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FB8 #A9B82F
analogous
#2F65B8 #3E2FB8 #822FB8
triadic
#3E2FB8 #B83E2F #2FB83E
tetradic
#3E2FB8 #B82F65 #A9B82F #2FB882
square
#3E2FB8 #B82F65 #A9B82F #2FB882
split-complementary
#3E2FB8 #B8822F #65B82F
monochromatic
#1D1657 #2E2387 #3E2FB8 #6052D3 #8C82DF

Accessibility & contrast

On white

9.12
#3E2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3E2FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FB8
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FB8#FFFFFF#000000##FFFFFF
##3E2FB81.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e2fb8;
/* rgb */ color: rgb(62, 47, 184);
/* oklch */ color: oklch(42.3% 0.203 278.1);
Tailwind
colors: {
  custom: {
    50: '#846acf',
    500: '#3e2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fb8;
$custom-light: #846acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fb8",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 246.569,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42294,
    "c": 0.20296,
    "h": 278.1
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#3E2FB8
secondary
#C0C87B
accent
#E245D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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