#3E34CC#3E34CC

#3E34CC is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 45.0% C 0.222 H 275.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#3E34CC
RGBrgb(62, 52, 204)
HSLhsl(244, 60%, 50%)
HSVhsv(244, 75%, 80%)
CMYKcmyk(69.6%, 74.5%, 0%, 20%)
CIE-LABlab(33.64, 50.77, -76.42)
CIE-LCHlch(33.64, 91.75, 303.59°)
OKLaboklab(44.99% 0.0217 -0.2209)
OKLCHoklch(44.99% 0.222 275.6)
XYZxyz(14.1101, 7.8384, 57.8844)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E34CC #C2CC34
analogous
#3476CC #3E34CC #8A34CC
triadic
#3E34CC #CC3E34 #34CC3E
tetradic
#3E34CC #CC3476 #C2CC34 #34CC8A
square
#3E34CC #CC3476 #C2CC34 #34CC8A
split-complementary
#3E34CC #CC8A34 #76CC34
monochromatic
#201B6B #2F279C #3E34CC #6D65D8 #9B96E5

Accessibility & contrast

On white

8.18
#3E34CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3E34CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E34CC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E34CC#FFFFFF#000000##FFFFFF
##3E34CC1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#0048C9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e34cc;
/* rgb */ color: rgb(62, 52, 204);
/* oklch */ color: oklch(45.0% 0.222 275.6);
Tailwind
colors: {
  custom: {
    50: '#876edd',
    500: '#3e34cc',
    950: '#000000',
  },
}
SCSS
$custom: #3e34cc;
$custom-light: #876edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e34cc",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 243.947,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4499,
    "c": 0.222,
    "h": 275.6
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#3E34CC
secondary
#CBD08C
accent
#E345D9
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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