#3E38D9#3E38D9

#3E38D9 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.8% C 0.234 H 274.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3E38D9
RGBrgb(62, 56, 217)
HSLhsl(242, 68%, 54%)
HSVhsv(242, 74%, 85%)
CMYKcmyk(71.4%, 74.2%, 0%, 14.9%)
CIE-LABlab(35.71, 52.71, -80.53)
CIE-LCHlch(35.71, 96.25, 303.21°)
OKLaboklab(46.85% 0.0172 -0.2329)
OKLCHoklch(46.85% 0.234 274.2)
XYZxyz(15.9210, 8.8607, 66.5034)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38D9 #D3D938
analogous
#3882D9 #3E38D9 #8E38D9
triadic
#3E38D9 #D93E38 #38D93E
tetradic
#3E38D9 #D93882 #D3D938 #38D98E
square
#3E38D9 #D93882 #D3D938 #38D98E
split-complementary
#3E38D9 #D98E38 #82D938
monochromatic
#1C187E #2722B2 #3E38D9 #706BE3 #A29FED

Accessibility & contrast

On white

7.57
#3E38D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3E38D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E38D9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E38D9#FFFFFF#000000##FFFFFF
##3E38D91.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDE
Deuteranopia (green-blind)
#004CD6
Tritanopia (blue-blind)
#006786
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e38d9;
/* rgb */ color: rgb(62, 56, 217);
/* oklch */ color: oklch(46.8% 0.234 274.2);
Tailwind
colors: {
  custom: {
    50: '#8a71e6',
    500: '#3e38d9',
    950: '#000000',
  },
}
SCSS
$custom: #3e38d9;
$custom-light: #8a71e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38d9",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 242.236,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46846,
    "c": 0.23355,
    "h": 274.2
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#3E38D9
secondary
#D6D994
accent
#EB3DE4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3E38D9

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

Preview Lab → · Contrast checker → · Palette generator →

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