#3E57A2#3E57A2

#3E57A2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.124 H 267.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3E57A2
RGBrgb(62, 87, 162)
HSLhsl(225, 45%, 44%)
HSVhsv(225, 62%, 64%)
CMYKcmyk(61.7%, 46.3%, 0%, 36.5%)
CIE-LABlab(38.64, 14.74, -43.54)
CIE-LCHlch(38.64, 45.96, 288.70°)
OKLaboklab(47.63% -0.0051 -0.1243)
OKLCHoklch(47.63% 0.124 267.7)
XYZxyz(11.9142, 10.4482, 35.5643)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E57A2 #A2893E
analogous
#3E89A2 #3E57A2 #573EA2
triadic
#3E57A2 #A23E57 #57A23E
tetradic
#3E57A2 #A23E89 #A2893E #3EA257
square
#3E57A2 #A23E89 #A2893E #3EA257
split-complementary
#3E57A2 #A2573E #89A23E
monochromatic
#1C2749 #2D3F76 #3E57A2 #5C76C1 #899BD2

Accessibility & contrast

On white

6.80
#3E57A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3E57A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E57A2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E57A2#FFFFFF#000000##FFFFFF
##3E57A21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#2457A0
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e57a2;
/* rgb */ color: rgb(62, 87, 162);
/* oklch */ color: oklch(47.6% 0.124 267.7);
Tailwind
colors: {
  custom: {
    50: '#7d86be',
    500: '#3e57a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e57a2;
$custom-light: #7d86be;
$custom-dark: #000000;
JSON
{
  "hex": "#3e57a2",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 225,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47625,
    "c": 0.12437,
    "h": 267.7
  },
  "luminance": 0.10449
}

Semantic roles & 50–950 ramp

primary
#3E57A2
secondary
#BCAD80
accent
#B453D4
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3E57A2

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

Preview Lab → · Contrast checker → · Palette generator →

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