#3E4DC5#3E4DC5

#3E4DC5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.186 H 272.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3E4DC5
RGBrgb(62, 77, 197)
HSLhsl(233, 54%, 51%)
HSVhsv(233, 69%, 77%)
CMYKcmyk(68.5%, 60.9%, 0%, 22.7%)
CIE-LABlab(38.48, 33.64, -64.41)
CIE-LCHlch(38.48, 72.66, 297.57°)
OKLaboklab(48.3% 0.0064 -0.1858)
OKLCHoklch(48.3% 0.186 272)
XYZxyz(14.7151, 10.3617, 54.0370)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4DC5 #C5B63E
analogous
#3E91C5 #3E4DC5 #723EC5
triadic
#3E4DC5 #C53E4D #4DC53E
tetradic
#3E4DC5 #C53E91 #C5B63E #3EC572
square
#3E4DC5 #C53E91 #C5B63E #3EC572
split-complementary
#3E4DC5 #C5723E #91C53E
monochromatic
#202869 #2E3A98 #3E4DC5 #6D78D3 #9CA4E1

Accessibility & contrast

On white

6.83
#3E4DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3E4DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4DC5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4DC5#FFFFFF#000000##FFFFFF
##3E4DC51.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e4dc5;
/* rgb */ color: rgb(62, 77, 197);
/* oklch */ color: oklch(48.3% 0.186 272.0);
Tailwind
colors: {
  custom: {
    50: '#847ed8',
    500: '#3e4dc5',
    950: '#000000',
  },
}
SCSS
$custom: #3e4dc5;
$custom-light: #847ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4dc5",
  "rgb": {
    "r": 62,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 233.333,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.483,
    "c": 0.18588,
    "h": 272
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#3E4DC5
secondary
#CDC791
accent
#CD4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3E4DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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