#3E34C4#3E34C4

#3E34C4 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.2% C 0.212 H 276.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3E34C4
RGBrgb(62, 52, 196)
HSLhsl(244, 58%, 49%)
HSVhsv(244, 73%, 77%)
CMYKcmyk(68.4%, 73.5%, 0%, 23.1%)
CIE-LABlab(32.84, 48.24, -73.08)
CIE-LCHlch(32.84, 87.57, 303.43°)
OKLaboklab(44.18% 0.0233 -0.2112)
OKLCHoklch(44.18% 0.212 276.3)
XYZxyz(13.1751, 7.4644, 52.9603)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E34C4 #BAC434
analogous
#3472C4 #3E34C4 #8634C4
triadic
#3E34C4 #C43E34 #34C43E
tetradic
#3E34C4 #C43472 #BAC434 #34C486
square
#3E34C4 #C43472 #BAC434 #34C486
split-complementary
#3E34C4 #C48634 #72C434
monochromatic
#1F1A63 #2F2794 #3E34C4 #6860D5 #9691E2

Accessibility & contrast

On white

8.42
#3E34C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3E34C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E34C4
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E34C4#FFFFFF#000000##FFFFFF
##3E34C41.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0047C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e34c4;
/* rgb */ color: rgb(62, 52, 196);
/* oklch */ color: oklch(44.2% 0.212 276.3);
Tailwind
colors: {
  custom: {
    50: '#866ed7',
    500: '#3e34c4',
    950: '#000000',
  },
}
SCSS
$custom: #3e34c4;
$custom-light: #866ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e34c4",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 244.167,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44183,
    "c": 0.21247,
    "h": 276.3
  },
  "luminance": 0.07466
}

Semantic roles & 50–950 ramp

primary
#3E34C4
secondary
#C8CC87
accent
#E147D7
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E34C4

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

Preview Lab → · Contrast checker → · Palette generator →

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