#3E34C9#3E34C9

#3E34C9 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.7% C 0.218 H 275.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#3E34C9
RGBrgb(62, 52, 201)
HSLhsl(244, 59%, 50%)
HSVhsv(244, 74%, 79%)
CMYKcmyk(69.2%, 74.1%, 0%, 21.2%)
CIE-LABlab(33.34, 49.82, -75.18)
CIE-LCHlch(33.34, 90.19, 303.53°)
OKLaboklab(44.69% 0.0223 -0.2173)
OKLCHoklch(44.69% 0.218 275.9)
XYZxyz(13.7538, 7.6959, 56.0076)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E34C9 #BFC934
analogous
#3475C9 #3E34C9 #8934C9
triadic
#3E34C9 #C93E34 #34C93E
tetradic
#3E34C9 #C93475 #BFC934 #34C989
square
#3E34C9 #C93475 #BFC934 #34C989
split-complementary
#3E34C9 #C98934 #75C934
monochromatic
#201B68 #2F2798 #3E34C9 #6B63D7 #9994E3

Accessibility & contrast

On white

8.27
#3E34C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3E34C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E34C9
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E34C9#FFFFFF#000000##FFFFFF
##3E34C91.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0048C6
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3e34c9;
/* rgb */ color: rgb(62, 52, 201);
/* oklch */ color: oklch(44.7% 0.218 275.9);
Tailwind
colors: {
  custom: {
    50: '#876edb',
    500: '#3e34c9',
    950: '#000000',
  },
}
SCSS
$custom: #3e34c9;
$custom-light: #876edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e34c9",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 244.027,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44686,
    "c": 0.21845,
    "h": 275.9
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#3E34C9
secondary
#CACE8A
accent
#E246D8
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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