#3E34B7#3E34B7

#3E34B7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.9% C 0.197 H 277.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3E34B7
RGBrgb(62, 52, 183)
HSLhsl(245, 56%, 46%)
HSVhsv(245, 72%, 72%)
CMYKcmyk(66.1%, 71.6%, 0%, 28.2%)
CIE-LABlab(31.57, 44.08, -67.50)
CIE-LCHlch(31.57, 80.62, 303.15°)
OKLaboklab(42.9% 0.0258 -0.1949)
OKLCHoklch(42.9% 0.197 277.5)
XYZxyz(11.7591, 6.8980, 45.5023)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E34B7 #ADB734
analogous
#346BB7 #3E34B7 #7F34B7
triadic
#3E34B7 #B73E34 #34B73E
tetradic
#3E34B7 #B7346B #ADB734 #34B77F
square
#3E34B7 #B7346B #ADB734 #34B77F
split-complementary
#3E34B7 #B77F34 #6BB734
monochromatic
#1E1958 #2E2687 #3E34B7 #6259D0 #8F88DD

Accessibility & contrast

On white

8.82
#3E34B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3E34B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E34B7
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E34B7#FFFFFF#000000##FFFFFF
##3E34B71.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e34b7;
/* rgb */ color: rgb(62, 52, 183);
/* oklch */ color: oklch(42.9% 0.197 277.5);
Tailwind
colors: {
  custom: {
    50: '#836dce',
    500: '#3e34b7',
    950: '#000000',
  },
}
SCSS
$custom: #3e34b7;
$custom-light: #836dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e34b7",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 244.58,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42899,
    "c": 0.19662,
    "h": 277.5
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#3E34B7
secondary
#C2C780
accent
#DF49D4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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