#3E5DC5#3E5DC5

#3E5DC5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.166 H 267.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3E5DC5
RGBrgb(62, 93, 197)
HSLhsl(226, 54%, 51%)
HSVhsv(226, 69%, 77%)
CMYKcmyk(68.5%, 52.8%, 0%, 22.7%)
CIE-LABlab(42.59, 23.41, -57.75)
CIE-LCHlch(42.59, 62.31, 292.07°)
OKLaboklab(51.37% -0.0067 -0.166)
OKLCHoklch(51.37% 0.166 267.7)
XYZxyz(15.9755, 12.8825, 54.4571)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5DC5 #C5A63E
analogous
#3EA0C5 #3E5DC5 #623EC5
triadic
#3E5DC5 #C53E5D #5DC53E
tetradic
#3E5DC5 #C53EA0 #C5A63E #3EC562
square
#3E5DC5 #C53EA0 #C5A63E #3EC562
split-complementary
#3E5DC5 #C5623E #A0C53E
monochromatic
#203069 #2E4698 #3E5DC5 #6D84D3 #9CACE1

Accessibility & contrast

On white

5.87
#3E5DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3E5DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5DC5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5DC5#FFFFFF#000000##FFFFFF
##3E5DC51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166BC9
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5dc5;
/* rgb */ color: rgb(62, 93, 197);
/* oklch */ color: oklch(51.4% 0.166 267.7);
Tailwind
colors: {
  custom: {
    50: '#838ad7',
    500: '#3e5dc5',
    950: '#000000',
  },
}
SCSS
$custom: #3e5dc5;
$custom-light: #838ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5dc5",
  "rgb": {
    "r": 62,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 226.222,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.16612,
    "h": 267.7
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#3E5DC5
secondary
#CDC091
accent
#BC4BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E5DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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