#3E5ECD#3E5ECD

#3E5ECD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.176 H 267.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#3E5ECD
RGBrgb(62, 94, 205)
HSLhsl(227, 59%, 52%)
HSVhsv(227, 70%, 80%)
CMYKcmyk(69.8%, 54.1%, 0%, 19.6%)
CIE-LABlab(43.41, 25.65, -61.02)
CIE-LCHlch(43.41, 66.20, 292.80°)
OKLaboklab(52.17% -0.007 -0.1756)
OKLCHoklch(52.17% 0.176 267.7)
XYZxyz(17.0049, 13.4356, 59.4429)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5ECD #CDAD3E
analogous
#3EA6CD #3E5ECD #653ECD
triadic
#3E5ECD #CD3E5E #5ECD3E
tetradic
#3E5ECD #CD3EA6 #CDAD3E #3ECD65
square
#3E5ECD #CD3EA6 #CDAD3E #3ECD65
split-complementary
#3E5ECD #CD653E #A6CD3E
monochromatic
#1E3173 #2A45A3 #3E5ECD #6F87DA #9FAFE6

Accessibility & contrast

On white

5.70
#3E5ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3E5ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5ECD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5ECD#FFFFFF#000000##FFFFFF
##3E5ECD1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3e5ecd;
/* rgb */ color: rgb(62, 94, 205);
/* oklch */ color: oklch(52.2% 0.176 267.7);
Tailwind
colors: {
  custom: {
    50: '#848bdd',
    500: '#3e5ecd',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ecd;
$custom-light: #848bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ecd",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 226.573,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.17575,
    "h": 267.7
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#3E5ECD
secondary
#D3C594
accent
#BF46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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