#3E34D1#3E34D1

#3E34D1 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.5% C 0.228 H 275.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3E34D1
RGBrgb(62, 52, 209)
HSLhsl(244, 63%, 51%)
HSVhsv(244, 75%, 82%)
CMYKcmyk(70.3%, 75.1%, 0%, 18%)
CIE-LABlab(34.15, 52.33, -78.49)
CIE-LCHlch(34.15, 94.33, 303.69°)
OKLaboklab(45.5% 0.0207 -0.2269)
OKLCHoklch(45.5% 0.228 275.2)
XYZxyz(14.7194, 8.0822, 61.0935)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E34D1 #C7D134
analogous
#3478D1 #3E34D1 #8C34D1
triadic
#3E34D1 #D13E34 #34D13E
tetradic
#3E34D1 #D13478 #C7D134 #34D18C
square
#3E34D1 #D13478 #C7D134 #34D18C
split-complementary
#3E34D1 #D18C34 #78D134
monochromatic
#1F1A71 #2D25A3 #3E34D1 #6D66DC #9D98E8

Accessibility & contrast

On white

8.03
#3E34D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3E34D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E34D1
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E34D1#FFFFFF#000000##FFFFFF
##3E34D11.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D6
Deuteranopia (green-blind)
#0049CE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e34d1;
/* rgb */ color: rgb(62, 52, 209);
/* oklch */ color: oklch(45.5% 0.228 275.2);
Tailwind
colors: {
  custom: {
    50: '#886ee0',
    500: '#3e34d1',
    950: '#000000',
  },
}
SCSS
$custom: #3e34d1;
$custom-light: #886ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e34d1",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 243.822,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45501,
    "c": 0.22789,
    "h": 275.2
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#3E34D1
secondary
#CFD38E
accent
#E642DC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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