#3E34AB#3E34AB

#3E34AB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.182 H 278.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#3E34AB
RGBrgb(62, 52, 171)
HSLhsl(245, 53%, 44%)
HSVhsv(245, 70%, 67%)
CMYKcmyk(63.7%, 69.6%, 0%, 32.9%)
CIE-LABlab(30.45, 40.19, -62.20)
CIE-LCHlch(30.45, 74.05, 302.87°)
OKLaboklab(41.75% 0.0278 -0.1794)
OKLCHoklch(41.75% 0.182 278.8)
XYZxyz(10.5629, 6.4196, 39.2026)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E34AB #A1AB34
analogous
#3465AB #3E34AB #7934AB
triadic
#3E34AB #AB3E34 #34AB3E
tetradic
#3E34AB #AB3465 #A1AB34 #34AB79
square
#3E34AB #AB3465 #A1AB34 #34AB79
split-complementary
#3E34AB #AB7934 #65AB34
monochromatic
#1C174D #2D267C #3E34AB #5C52CA #8881D9

Accessibility & contrast

On white

9.19
#3E34AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3E34AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E34AB
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E34AB#FFFFFF#000000##FFFFFF
##3E34AB1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e34ab;
/* rgb */ color: rgb(62, 52, 171);
/* oklch */ color: oklch(41.8% 0.182 278.8);
Tailwind
colors: {
  custom: {
    50: '#816dc5',
    500: '#3e34ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e34ab;
$custom-light: #816dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e34ab",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 245.042,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4175,
    "c": 0.18155,
    "h": 278.8
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#3E34AB
secondary
#BCC279
accent
#DD4BD1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3E34AB

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

Preview Lab → · Contrast checker → · Palette generator →

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