#3E5EC7#3E5EC7

#3E5EC7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.168 H 267.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3E5EC7
RGBrgb(62, 94, 199)
HSLhsl(226, 55%, 51%)
HSVhsv(226, 69%, 78%)
CMYKcmyk(68.8%, 52.8%, 0%, 22%)
CIE-LABlab(42.99, 23.49, -58.25)
CIE-LCHlch(42.99, 62.81, 291.96°)
OKLaboklab(51.72% -0.0074 -0.1674)
OKLCHoklch(51.72% 0.168 267.5)
XYZxyz(16.2945, 13.1514, 55.7015)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5EC7 #C7A73E
analogous
#3EA2C7 #3E5EC7 #623EC7
triadic
#3E5EC7 #C73E5E #5EC73E
tetradic
#3E5EC7 #C73EA2 #C7A73E #3EC762
square
#3E5EC7 #C73EA2 #C7A73E #3EC762
split-complementary
#3E5EC7 #C7623E #A2C73E
monochromatic
#1F316B #2D479B #3E5EC7 #6D86D5 #9DADE3

Accessibility & contrast

On white

5.78
#3E5EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3E5EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5EC7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5EC7#FFFFFF#000000##FFFFFF
##3E5EC71.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166CCB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e5ec7;
/* rgb */ color: rgb(62, 94, 199);
/* oklch */ color: oklch(51.7% 0.168 267.5);
Tailwind
colors: {
  custom: {
    50: '#838bd9',
    500: '#3e5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ec7;
$custom-light: #838bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ec7",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 225.985,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.16761,
    "h": 267.5
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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