#3E57AC#3E57AC

#3E57AC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.139 H 268.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3E57AC
RGBrgb(62, 87, 172)
HSLhsl(226, 47%, 46%)
HSVhsv(226, 64%, 67%)
CMYKcmyk(64%, 49.4%, 0%, 32.5%)
CIE-LABlab(39.27, 18.30, -48.46)
CIE-LCHlch(39.27, 51.80, 290.69°)
OKLaboklab(48.32% -0.0037 -0.1387)
OKLCHoklch(48.32% 0.139 268.5)
XYZxyz(12.8387, 10.8179, 40.4332)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E57AC #AC933E
analogous
#3E8EAC #3E57AC #5C3EAC
triadic
#3E57AC #AC3E57 #57AC3E
tetradic
#3E57AC #AC3E8E #AC933E #3EAC5C
square
#3E57AC #AC3E8E #AC933E #3EAC5C
split-complementary
#3E57AC #AC5C3E #8EAC3E
monochromatic
#1E2952 #2E407F #3E57AC #6178C6 #8E9FD6

Accessibility & contrast

On white

6.64
#3E57AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3E57AC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E57AC#FFFFFF#000000##FFFFFF
##3E57AC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#1158AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e57ac;
/* rgb */ color: rgb(62, 87, 172);
/* oklch */ color: oklch(48.3% 0.139 268.5);
Tailwind
colors: {
  custom: {
    50: '#7e86c5',
    500: '#3e57ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e57ac;
$custom-light: #7e86c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e57ac",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 226.364,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48316,
    "c": 0.13879,
    "h": 268.5
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#3E57AC
secondary
#C1B385
accent
#B851D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3E57AC

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

Preview Lab → · Contrast checker → · Palette generator →

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