#3E38CF#3E38CF

#3E38CF is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.8% C 0.222 H 274.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3E38CF
RGBrgb(62, 56, 207)
HSLhsl(242, 61%, 52%)
HSVhsv(242, 73%, 81%)
CMYKcmyk(70%, 72.9%, 0%, 18.8%)
CIE-LABlab(34.71, 49.55, -76.40)
CIE-LCHlch(34.71, 91.06, 302.96°)
OKLaboklab(45.84% 0.019 -0.2209)
OKLCHoklch(45.84% 0.222 274.9)
XYZxyz(14.6595, 8.3561, 59.8597)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38CF #C9CF38
analogous
#387ECF #3E38CF #8A38CF
triadic
#3E38CF #CF3E38 #38CF3E
tetradic
#3E38CF #CF387E #C9CF38 #38CF8A
square
#3E38CF #CF387E #C9CF38 #38CF8A
split-complementary
#3E38CF #CF8A38 #7ECF38
monochromatic
#1F1B71 #2C27A3 #3E38CF #6E69DB #9E9BE7

Accessibility & contrast

On white

7.86
#3E38CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3E38CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E38CF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E38CF#FFFFFF#000000##FFFFFF
##3E38CF1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#004BCC
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e38cf;
/* rgb */ color: rgb(62, 56, 207);
/* oklch */ color: oklch(45.8% 0.222 274.9);
Tailwind
colors: {
  custom: {
    50: '#8871df',
    500: '#3e38cf',
    950: '#000000',
  },
}
SCSS
$custom: #3e38cf;
$custom-light: #8871df;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38cf",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 242.384,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.22173,
    "h": 274.9
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#3E38CF
secondary
#D0D390
accent
#E444DE
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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