#3E57C2#3E57C2

#3E57C2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.170 H 269.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3E57C2
RGBrgb(62, 87, 194)
HSLhsl(229, 52%, 50%)
HSVhsv(229, 68%, 76%)
CMYKcmyk(68%, 55.2%, 0%, 23.9%)
CIE-LABlab(40.79, 26.19, -58.91)
CIE-LCHlch(40.79, 64.47, 293.97°)
OKLaboklab(49.95% -0.0018 -0.1695)
OKLCHoklch(49.95% 0.17 269.4)
XYZxyz(15.1291, 11.7341, 52.4961)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E57C2 #C2A93E
analogous
#3E99C2 #3E57C2 #673EC2
triadic
#3E57C2 #C23E57 #57C23E
tetradic
#3E57C2 #C23E99 #C2A93E #3EC267
square
#3E57C2 #C23E99 #C2A93E #3EC267
split-complementary
#3E57C2 #C2673E #99C23E
monochromatic
#202D66 #2F4294 #3E57C2 #6D7FD1 #9BA8DF

Accessibility & contrast

On white

6.27
#3E57C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3E57C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E57C2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E57C2#FFFFFF#000000##FFFFFF
##3E57C21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3e57c2;
/* rgb */ color: rgb(62, 87, 194);
/* oklch */ color: oklch(49.9% 0.170 269.4);
Tailwind
colors: {
  custom: {
    50: '#8386d5',
    500: '#3e57c2',
    950: '#000000',
  },
}
SCSS
$custom: #3e57c2;
$custom-light: #8386d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e57c2",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 228.636,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.16951,
    "h": 269.4
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#3E57C2
secondary
#CBC090
accent
#C04CDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3E57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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