#3E5CD4#3E5CD4

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

Color values

HEX#3E5CD4
RGBrgb(62, 92, 212)
HSLhsl(228, 64%, 54%)
HSVhsv(228, 71%, 83%)
CMYKcmyk(70.8%, 56.6%, 0%, 16.9%)
CIE-LABlab(43.40, 29.44, -65.06)
CIE-LCHlch(43.40, 71.41, 294.35°)
OKLaboklab(52.32% -0.005 -0.1875)
OKLCHoklch(52.32% 0.188 268.5)
XYZxyz(17.6933, 13.4301, 63.9344)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CD4 #D4B63E
analogous
#3EA7D4 #3E5CD4 #6B3ED4
triadic
#3E5CD4 #D43E5C #5CD43E
tetradic
#3E5CD4 #D43EA7 #D4B63E #3ED46B
square
#3E5CD4 #D43EA7 #D4B63E #3ED46B
split-complementary
#3E5CD4 #D46B3E #A7D43E
monochromatic
#1C2F7C #2742AE #3E5CD4 #7086DF #A2B1EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E5CD4#FFFFFF#000000##FFFFFF
##3E5CD41.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)
#006ED8
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3e5cd4;
/* rgb */ color: rgb(62, 92, 212);
/* oklch */ color: oklch(52.3% 0.188 268.5);
Tailwind
colors: {
  custom: {
    50: '#8689e2',
    500: '#3e5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #3e5cd4;
$custom-light: #8689e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5cd4",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 228,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52323,
    "c": 0.18757,
    "h": 268.5
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#3E5CD4
secondary
#D7CA97
accent
#C641E7
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0B15
muted
#7D7C84

Preview Lab

Preview with #3E5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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