#3E4DCD#3E4DCD

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

Color values

HEX#3E4DCD
RGBrgb(62, 77, 205)
HSLhsl(234, 59%, 52%)
HSVhsv(234, 70%, 80%)
CMYKcmyk(69.8%, 62.4%, 0%, 19.6%)
CIE-LABlab(39.14, 36.43, -67.98)
CIE-LCHlch(39.14, 77.13, 298.19°)
OKLaboklab(48.98% 0.0061 -0.1963)
OKLCHoklch(48.98% 0.196 271.8)
XYZxyz(15.6562, 10.7381, 58.9933)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4DCD #CDBE3E
analogous
#3E95CD #3E4DCD #763ECD
triadic
#3E4DCD #CD3E4D #4DCD3E
tetradic
#3E4DCD #CD3E95 #CDBE3E #3ECD76
square
#3E4DCD #CD3E95 #CDBE3E #3ECD76
split-complementary
#3E4DCD #CD763E #95CD3E
monochromatic
#1E2773 #2A37A3 #3E4DCD #6F7ADA #9FA7E6

Accessibility & contrast

On white

6.67
#3E4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3E4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4DCD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4DCD#FFFFFF#000000##FFFFFF
##3E4DCD1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e4dcd;
/* rgb */ color: rgb(62, 77, 205);
/* oklch */ color: oklch(49.0% 0.196 271.8);
Tailwind
colors: {
  custom: {
    50: '#867fdd',
    500: '#3e4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #3e4dcd;
$custom-light: #867fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4dcd",
  "rgb": {
    "r": 62,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 233.706,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48983,
    "c": 0.19636,
    "h": 271.8
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#3E4DCD
secondary
#D3CC94
accent
#D246E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #3E4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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