#3E39B8#3E39B8

#3E39B8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.8% C 0.192 H 276.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3E39B8
RGBrgb(62, 57, 184)
HSLhsl(242, 53%, 47%)
HSVhsv(242, 69%, 72%)
CMYKcmyk(66.3%, 69%, 0%, 27.8%)
CIE-LABlab(32.72, 41.51, -66.21)
CIE-LCHlch(32.72, 78.14, 302.08°)
OKLaboklab(43.75% 0.0222 -0.1911)
OKLCHoklch(43.75% 0.192 276.6)
XYZxyz(12.0986, 7.4100, 46.1308)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39B8 #B3B839
analogous
#3974B8 #3E39B8 #7D39B8
triadic
#3E39B8 #B83E39 #39B83E
tetradic
#3E39B8 #B83974 #B3B839 #39B87D
square
#3E39B8 #B83974 #B3B839 #39B87D
split-complementary
#3E39B8 #B87D39 #74B839
monochromatic
#1F1C5B #2E2B89 #3E39B8 #6560CE #928FDC

Accessibility & contrast

On white

8.46
#3E39B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3E39B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39B8
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39B8#FFFFFF#000000##FFFFFF
##3E39B81.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e39b8;
/* rgb */ color: rgb(62, 57, 184);
/* oklch */ color: oklch(43.8% 0.192 276.6);
Tailwind
colors: {
  custom: {
    50: '#8370ce',
    500: '#3e39b8',
    950: '#000000',
  },
}
SCSS
$custom: #3e39b8;
$custom-light: #8370ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39b8",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 242.362,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.19243,
    "h": 276.6
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#3E39B8
secondary
#C5C786
accent
#DC4CD6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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