#3E39CC#3E39CC

#3E39CC is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.217 H 275.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3E39CC
RGBrgb(62, 57, 204)
HSLhsl(242, 59%, 51%)
HSVhsv(242, 72%, 80%)
CMYKcmyk(69.6%, 72.1%, 0%, 20%)
CIE-LABlab(34.62, 48.03, -74.82)
CIE-LCHlch(34.62, 88.91, 302.70°)
OKLaboklab(45.68% 0.019 -0.2163)
OKLCHoklch(45.68% 0.217 275)
XYZxyz(14.3452, 8.3087, 57.9628)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39CC #C7CC39
analogous
#397DCC #3E39CC #8739CC
triadic
#3E39CC #CC3E39 #39CC3E
tetradic
#3E39CC #CC397D #C7CC39 #39CC87
square
#3E39CC #CC397D #C7CC39 #39CC87
split-complementary
#3E39CC #CC8739 #7DCC39
monochromatic
#1F1C6E #2D299F #3E39CC #6D6AD9 #9D9AE5

Accessibility & contrast

On white

7.89
#3E39CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3E39CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39CC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39CC#FFFFFF#000000##FFFFFF
##3E39CC1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e39cc;
/* rgb */ color: rgb(62, 57, 204);
/* oklch */ color: oklch(45.7% 0.217 275.0);
Tailwind
colors: {
  custom: {
    50: '#8771dd',
    500: '#3e39cc',
    950: '#000000',
  },
}
SCSS
$custom: #3e39cc;
$custom-light: #8771dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39cc",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 242.041,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.21714,
    "h": 275
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#3E39CC
secondary
#CFD190
accent
#E246DD
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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