#3E3CC8#3E3CC8

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

Color values

HEX#3E3CC8
RGBrgb(62, 60, 200)
HSLhsl(241, 56%, 51%)
HSVhsv(241, 70%, 78%)
CMYKcmyk(69%, 70%, 0%, 21.6%)
CIE-LABlab(34.85, 45.02, -72.10)
CIE-LCHlch(34.85, 85.01, 301.98°)
OKLaboklab(45.73% 0.0179 -0.2084)
OKLCHoklch(45.73% 0.209 274.9)
XYZxyz(14.0243, 8.4247, 55.5194)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3CC8 #C6C83C
analogous
#3C80C8 #3E3CC8 #843CC8
triadic
#3E3CC8 #C83E3C #3CC83E
tetradic
#3E3CC8 #C83C80 #C6C83C #3CC884
square
#3E3CC8 #C83C80 #C6C83C #3CC884
split-complementary
#3E3CC8 #C8843C #80C83C
monochromatic
#1F1E6B #2D2C9B #3E3CC8 #6D6CD5 #9C9BE3

Accessibility & contrast

On white

7.82
#3E3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E3CC8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3CC8#FFFFFF#000000##FFFFFF
##3E3CC81.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e3cc8;
/* rgb */ color: rgb(62, 60, 200);
/* oklch */ color: oklch(45.7% 0.209 274.9);
Tailwind
colors: {
  custom: {
    50: '#8673da',
    500: '#3e3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #3e3cc8;
$custom-light: #8673da;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3cc8",
  "rgb": {
    "r": 62,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 240.857,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45733,
    "c": 0.20915,
    "h": 274.9
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#3E3CC8
secondary
#CECF91
accent
#DF49DD
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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