#3E34A2#3E34A2

#3E34A2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.170 H 279.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#3E34A2
RGBrgb(62, 52, 162)
HSLhsl(245, 51%, 42%)
HSVhsv(245, 68%, 64%)
CMYKcmyk(61.7%, 67.9%, 0%, 36.5%)
CIE-LABlab(29.63, 37.24, -58.11)
CIE-LCHlch(29.63, 69.02, 302.65°)
OKLaboklab(40.91% 0.0291 -0.1674)
OKLCHoklch(40.91% 0.17 279.9)
XYZxyz(9.7341, 6.0880, 34.8376)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E34A2 #98A234
analogous
#3461A2 #3E34A2 #7534A2
triadic
#3E34A2 #A23E34 #34A23E
tetradic
#3E34A2 #A23461 #98A234 #34A275
square
#3E34A2 #A23461 #98A234 #34A275
split-complementary
#3E34A2 #A27534 #61A234
monochromatic
#1B1645 #2C2574 #3E34A2 #584DC6 #847CD5

Accessibility & contrast

On white

9.47
#3E34A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3E34A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E34A2
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E34A2#FFFFFF#000000##FFFFFF
##3E34A21.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e34a2;
/* rgb */ color: rgb(62, 52, 162);
/* oklch */ color: oklch(40.9% 0.170 279.9);
Tailwind
colors: {
  custom: {
    50: '#7f6cbe',
    500: '#3e34a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e34a2;
$custom-light: #7f6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3e34a2",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 245.455,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40914,
    "c": 0.16995,
    "h": 279.9
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#3E34A2
secondary
#B7BE74
accent
#DB4DCE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E34A2

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

Preview Lab → · Contrast checker → · Palette generator →

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