#3E34AC#3E34AC

#3E34AC is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.183 H 278.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#3E34AC
RGBrgb(62, 52, 172)
HSLhsl(245, 54%, 44%)
HSVhsv(245, 70%, 67%)
CMYKcmyk(64%, 69.8%, 0%, 32.5%)
CIE-LABlab(30.54, 40.51, -62.65)
CIE-LCHlch(30.54, 74.61, 302.89°)
OKLaboklab(41.84% 0.0276 -0.1807)
OKLCHoklch(41.84% 0.183 278.7)
XYZxyz(10.6586, 6.4578, 39.7065)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E34AC #A2AC34
analogous
#3466AC #3E34AC #7A34AC
triadic
#3E34AC #AC3E34 #34AC3E
tetradic
#3E34AC #AC3466 #A2AC34 #34AC7A
square
#3E34AC #AC3466 #A2AC34 #34AC7A
split-complementary
#3E34AC #AC7A34 #66AC34
monochromatic
#1C184E #2D267D #3E34AC #5C52CB #8981D9

Accessibility & contrast

On white

9.16
#3E34AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3E34AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E34AC
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E34AC#FFFFFF#000000##FFFFFF
##3E34AC1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e34ac;
/* rgb */ color: rgb(62, 52, 172);
/* oklch */ color: oklch(41.8% 0.183 278.7);
Tailwind
colors: {
  custom: {
    50: '#816dc6',
    500: '#3e34ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e34ac;
$custom-light: #816dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e34ac",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 245,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41844,
    "c": 0.18282,
    "h": 278.7
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#3E34AC
secondary
#BCC279
accent
#DD4BD1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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