#3E4DCC#3E4DCC

#3E4DCC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.9% C 0.195 H 271.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#3E4DCC
RGBrgb(62, 77, 204)
HSLhsl(234, 58%, 52%)
HSVhsv(234, 70%, 80%)
CMYKcmyk(69.6%, 62.3%, 0%, 20%)
CIE-LABlab(39.05, 36.08, -67.54)
CIE-LCHlch(39.05, 76.58, 298.11°)
OKLaboklab(48.9% 0.0062 -0.195)
OKLCHoklch(48.9% 0.195 271.8)
XYZxyz(15.5359, 10.6900, 58.3597)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4DCC #CCBD3E
analogous
#3E94CC #3E4DCC #763ECC
triadic
#3E4DCC #CC3E4D #4DCC3E
tetradic
#3E4DCC #CC3E94 #CCBD3E #3ECC76
square
#3E4DCC #CC3E94 #CCBD3E #3ECC76
split-complementary
#3E4DCC #CC763E #94CC3E
monochromatic
#1E2772 #2B37A2 #3E4DCC #6E7AD9 #9FA6E6

Accessibility & contrast

On white

6.69
#3E4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3E4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4DCC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4DCC#FFFFFF#000000##FFFFFF
##3E4DCC1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e4dcc;
/* rgb */ color: rgb(62, 77, 204);
/* oklch */ color: oklch(48.9% 0.195 271.8);
Tailwind
colors: {
  custom: {
    50: '#857fdd',
    500: '#3e4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #3e4dcc;
$custom-light: #857fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4dcc",
  "rgb": {
    "r": 62,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 233.662,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.19506,
    "h": 271.8
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#3E4DCC
secondary
#D2CB94
accent
#D146E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #3E4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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