#3E5DC7#3E5DC7

#3E5DC7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.169 H 267.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#3E5DC7
RGBrgb(62, 93, 199)
HSLhsl(226, 55%, 51%)
HSVhsv(226, 69%, 78%)
CMYKcmyk(68.8%, 53.3%, 0%, 22%)
CIE-LABlab(42.73, 24.13, -58.68)
CIE-LCHlch(42.73, 63.45, 292.36°)
OKLaboklab(51.52% -0.0066 -0.1687)
OKLCHoklch(51.52% 0.169 267.8)
XYZxyz(16.2062, 12.9748, 55.6721)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5DC7 #C7A83E
analogous
#3EA1C7 #3E5DC7 #633EC7
triadic
#3E5DC7 #C73E5D #5DC73E
tetradic
#3E5DC7 #C73EA1 #C7A83E #3EC763
square
#3E5DC7 #C73EA1 #C7A83E #3EC763
split-complementary
#3E5DC7 #C7633E #A1C73E
monochromatic
#1F306B #2D469B #3E5DC7 #6D85D5 #9DADE3

Accessibility & contrast

On white

5.84
#3E5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3E5DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5DC7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5DC7#FFFFFF#000000##FFFFFF
##3E5DC71.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116BCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5dc7;
/* rgb */ color: rgb(62, 93, 199);
/* oklch */ color: oklch(51.5% 0.169 267.8);
Tailwind
colors: {
  custom: {
    50: '#838ad9',
    500: '#3e5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #3e5dc7;
$custom-light: #838ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5dc7",
  "rgb": {
    "r": 62,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 226.423,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51516,
    "c": 0.16885,
    "h": 267.8
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#3E5DC7
secondary
#CFC192
accent
#BD49DE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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