#3E3DCC#3E3DCC

#3E3DCC is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.3% C 0.213 H 274.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#3E3DCC
RGBrgb(62, 61, 204)
HSLhsl(240, 58%, 52%)
HSVhsv(240, 70%, 80%)
CMYKcmyk(69.6%, 70.1%, 0%, 20%)
CIE-LABlab(35.44, 45.76, -73.47)
CIE-LCHlch(35.44, 86.55, 301.92°)
OKLaboklab(46.27% 0.0167 -0.2124)
OKLCHoklch(46.27% 0.213 274.5)
XYZxyz(14.5508, 8.7199, 58.0313)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3DCC #CBCC3D
analogous
#3D83CC #3E3DCC #863DCC
triadic
#3E3DCC #CC3E3D #3DCC3E
tetradic
#3E3DCC #CC3D83 #CBCC3D #3DCC86
square
#3E3DCC #CC3D83 #CBCC3D #3DCC86
split-complementary
#3E3DCC #CC863D #83CC3D
monochromatic
#1E1E71 #2B2AA1 #3E3DCC #6E6DD9 #9E9EE5

Accessibility & contrast

On white

7.65
#3E3DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3E3DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3DCC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3DCC#FFFFFF#000000##FFFFFF
##3E3DCC1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#004DC9
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e3dcc;
/* rgb */ color: rgb(62, 61, 204);
/* oklch */ color: oklch(46.3% 0.213 274.5);
Tailwind
colors: {
  custom: {
    50: '#8774dd',
    500: '#3e3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #3e3dcc;
$custom-light: #8774dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3dcc",
  "rgb": {
    "r": 62,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 240.42,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46269,
    "c": 0.21302,
    "h": 274.5
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

primary
#3E3DCC
secondary
#D1D293
accent
#E246E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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