#3E39C8#3E39C8

#3E39C8 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.212 H 275.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3E39C8
RGBrgb(62, 57, 200)
HSLhsl(242, 57%, 50%)
HSVhsv(242, 72%, 78%)
CMYKcmyk(69%, 71.5%, 0%, 21.6%)
CIE-LABlab(34.23, 46.74, -73.13)
CIE-LCHlch(34.23, 86.79, 302.58°)
OKLaboklab(45.29% 0.0197 -0.2114)
OKLCHoklch(45.29% 0.212 275.3)
XYZxyz(13.8716, 8.1192, 55.4685)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39C8 #C3C839
analogous
#397BC8 #3E39C8 #8539C8
triadic
#3E39C8 #C83E39 #39C83E
tetradic
#3E39C8 #C8397B #C3C839 #39C885
square
#3E39C8 #C8397B #C3C839 #39C885
split-complementary
#3E39C8 #C88539 #7BC839
monochromatic
#201D69 #2E2B99 #3E39C8 #6D69D5 #9B99E3

Accessibility & contrast

On white

8.00
#3E39C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3E39C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39C8
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39C8#FFFFFF#000000##FFFFFF
##3E39C81.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004AC5
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e39c8;
/* rgb */ color: rgb(62, 57, 200);
/* oklch */ color: oklch(45.3% 0.212 275.3);
Tailwind
colors: {
  custom: {
    50: '#8671da',
    500: '#3e39c8',
    950: '#000000',
  },
}
SCSS
$custom: #3e39c8;
$custom-light: #8671da;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39c8",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 242.098,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45288,
    "c": 0.21228,
    "h": 275.3
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#3E39C8
secondary
#CCCE8F
accent
#E048DA
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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