#3E38C7#3E38C7

#3E38C7 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.212 H 275.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3E38C7
RGBrgb(62, 56, 199)
HSLhsl(243, 56%, 50%)
HSVhsv(243, 72%, 78%)
CMYKcmyk(68.8%, 71.9%, 0%, 22%)
CIE-LABlab(33.93, 46.98, -73.04)
CIE-LCHlch(33.93, 86.84, 302.75°)
OKLaboklab(45.05% 0.0205 -0.2111)
OKLCHoklch(45.05% 0.212 275.5)
XYZxyz(13.7062, 7.9747, 54.8387)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38C7 #C1C738
analogous
#387AC7 #3E38C7 #8538C7
triadic
#3E38C7 #C73E38 #38C73E
tetradic
#3E38C7 #C7387A #C1C738 #38C785
square
#3E38C7 #C7387A #C1C738 #38C785
split-complementary
#3E38C7 #C78538 #7AC738
monochromatic
#201D67 #2F2B97 #3E38C7 #6C68D4 #9B98E2

Accessibility & contrast

On white

8.09
#3E38C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3E38C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E38C7
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E38C7#FFFFFF#000000##FFFFFF
##3E38C71.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e38c7;
/* rgb */ color: rgb(62, 56, 199);
/* oklch */ color: oklch(45.0% 0.212 275.5);
Tailwind
colors: {
  custom: {
    50: '#8670d9',
    500: '#3e38c7',
    950: '#000000',
  },
}
SCSS
$custom: #3e38c7;
$custom-light: #8670d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38c7",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 242.517,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.21209,
    "h": 275.5
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#3E38C7
secondary
#CBCD8D
accent
#DF48D9
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E38C7

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

Preview Lab → · Contrast checker → · Palette generator →

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