#3E57A3#3E57A3

#3E57A3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.126 H 267.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#3E57A3
RGBrgb(62, 87, 163)
HSLhsl(225, 45%, 44%)
HSVhsv(225, 62%, 64%)
CMYKcmyk(62%, 46.6%, 0%, 36.1%)
CIE-LABlab(38.70, 15.09, -44.03)
CIE-LCHlch(38.70, 46.55, 288.92°)
OKLaboklab(47.69% -0.0049 -0.1257)
OKLCHoklch(47.69% 0.126 267.8)
XYZxyz(12.0034, 10.4838, 36.0343)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E57A3 #A38A3E
analogous
#3E8AA3 #3E57A3 #583EA3
triadic
#3E57A3 #A33E57 #57A33E
tetradic
#3E57A3 #A33E8A #A38A3E #3EA358
square
#3E57A3 #A33E8A #A38A3E #3EA358
split-complementary
#3E57A3 #A3583E #8AA33E
monochromatic
#1C284A #2D3F77 #3E57A3 #5D76C1 #899BD2

Accessibility & contrast

On white

6.78
#3E57A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3E57A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E57A3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E57A3#FFFFFF#000000##FFFFFF
##3E57A31.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A6
Deuteranopia (green-blind)
#2257A1
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e57a3;
/* rgb */ color: rgb(62, 87, 163);
/* oklch */ color: oklch(47.7% 0.126 267.8);
Tailwind
colors: {
  custom: {
    50: '#7d86bf',
    500: '#3e57a3',
    950: '#000000',
  },
}
SCSS
$custom: #3e57a3;
$custom-light: #7d86bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e57a3",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 163
  },
  "hsl": {
    "h": 225.149,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.12583,
    "h": 267.8
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#3E57A3
secondary
#BDAE80
accent
#B553D5
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3E57A3

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

Preview Lab → · Contrast checker → · Palette generator →

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