#3E38D1#3E38D1

#3E38D1 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.0% C 0.224 H 274.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3E38D1
RGBrgb(62, 56, 209)
HSLhsl(242, 62%, 52%)
HSVhsv(242, 73%, 82%)
CMYKcmyk(70.3%, 73.2%, 0%, 18%)
CIE-LABlab(34.91, 50.18, -77.24)
CIE-LCHlch(34.91, 92.11, 303.01°)
OKLaboklab(46.04% 0.0187 -0.2233)
OKLCHoklch(46.04% 0.224 274.8)
XYZxyz(14.9056, 8.4545, 61.1556)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38D1 #CBD138
analogous
#387FD1 #3E38D1 #8B38D1
triadic
#3E38D1 #D13E38 #38D13E
tetradic
#3E38D1 #D1387F #CBD138 #38D18B
square
#3E38D1 #D1387F #CBD138 #38D18B
split-complementary
#3E38D1 #D18B38 #7FD138
monochromatic
#1E1B74 #2B26A6 #3E38D1 #6E6ADC #9E9BE8

Accessibility & contrast

On white

7.80
#3E38D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3E38D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E38D1
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E38D1#FFFFFF#000000##FFFFFF
##3E38D11.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D5
Deuteranopia (green-blind)
#004BCE
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e38d1;
/* rgb */ color: rgb(62, 56, 209);
/* oklch */ color: oklch(46.0% 0.224 274.8);
Tailwind
colors: {
  custom: {
    50: '#8871e0',
    500: '#3e38d1',
    950: '#000000',
  },
}
SCSS
$custom: #3e38d1;
$custom-light: #8871e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38d1",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 242.353,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46038,
    "c": 0.22411,
    "h": 274.8
  },
  "luminance": 0.08456
}

Semantic roles & 50–950 ramp

primary
#3E38D1
secondary
#D1D491
accent
#E642DF
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E38D1

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

Preview Lab → · Contrast checker → · Palette generator →

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