#3E57AB#3E57AB

#3E57AB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.137 H 268.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3E57AB
RGBrgb(62, 87, 171)
HSLhsl(226, 47%, 46%)
HSVhsv(226, 64%, 67%)
CMYKcmyk(63.7%, 49.1%, 0%, 32.9%)
CIE-LABlab(39.21, 17.95, -47.97)
CIE-LCHlch(39.21, 51.22, 290.51°)
OKLaboklab(48.25% -0.0038 -0.1373)
OKLCHoklch(48.25% 0.137 268.4)
XYZxyz(12.7430, 10.7797, 39.9293)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E57AB #AB923E
analogous
#3E8DAB #3E57AB #5C3EAB
triadic
#3E57AB #AB3E57 #57AB3E
tetradic
#3E57AB #AB3E8D #AB923E #3EAB5C
square
#3E57AB #AB3E8D #AB923E #3EAB5C
split-complementary
#3E57AB #AB5C3E #8DAB3E
monochromatic
#1D2951 #2E407E #3E57AB #6178C6 #8E9ED6

Accessibility & contrast

On white

6.65
#3E57AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3E57AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E57AB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E57AB#FFFFFF#000000##FFFFFF
##3E57AB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AE
Deuteranopia (green-blind)
#1458A9
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e57ab;
/* rgb */ color: rgb(62, 87, 171);
/* oklch */ color: oklch(48.2% 0.137 268.4);
Tailwind
colors: {
  custom: {
    50: '#7e86c4',
    500: '#3e57ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e57ab;
$custom-light: #7e86c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e57ab",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 226.239,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48245,
    "c": 0.13736,
    "h": 268.4
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#3E57AB
secondary
#C1B384
accent
#B851D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3E57AB

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

Preview Lab → · Contrast checker → · Palette generator →

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