#3E5CD2#3E5CD2

#3E5CD2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.185 H 268.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3E5CD2
RGBrgb(62, 92, 210)
HSLhsl(228, 62%, 53%)
HSVhsv(228, 70%, 82%)
CMYKcmyk(70.5%, 56.2%, 0%, 17.6%)
CIE-LABlab(43.26, 28.72, -64.15)
CIE-LCHlch(43.26, 70.29, 294.12°)
OKLaboklab(52.17% -0.0051 -0.1848)
OKLCHoklch(52.17% 0.185 268.4)
XYZxyz(17.4426, 13.3298, 62.6139)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CD2 #D2B43E
analogous
#3EA6D2 #3E5CD2 #6A3ED2
triadic
#3E5CD2 #D23E5C #5CD23E
tetradic
#3E5CD2 #D23EA6 #D2B43E #3ED26A
square
#3E5CD2 #D23EA6 #D2B43E #3ED26A
split-complementary
#3E5CD2 #D26A3E #A6D23E
monochromatic
#1C2F79 #2842AB #3E5CD2 #7086DE #A1B0E9

Accessibility & contrast

On white

5.73
#3E5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3E5CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5CD2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5CD2#FFFFFF#000000##FFFFFF
##3E5CD21.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e5cd2;
/* rgb */ color: rgb(62, 92, 210);
/* oklch */ color: oklch(52.2% 0.185 268.4);
Tailwind
colors: {
  custom: {
    50: '#8689e1',
    500: '#3e5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #3e5cd2;
$custom-light: #8689e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5cd2",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 227.838,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.18491,
    "h": 268.4
  },
  "luminance": 0.13332
}

Semantic roles & 50–950 ramp

primary
#3E5CD2
secondary
#D6C996
accent
#C443E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3E5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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