#3E57C8#3E57C8

#3E57C8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.178 H 269.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#3E57C8
RGBrgb(62, 87, 200)
HSLhsl(229, 56%, 51%)
HSVhsv(229, 69%, 78%)
CMYKcmyk(69%, 56.5%, 0%, 21.6%)
CIE-LABlab(41.23, 28.33, -61.68)
CIE-LCHlch(41.23, 67.88, 294.67°)
OKLaboklab(50.42% -0.0015 -0.1776)
OKLCHoklch(50.42% 0.178 269.5)
XYZxyz(15.8166, 12.0091, 56.1168)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E57C8 #C8AF3E
analogous
#3E9CC8 #3E57C8 #6A3EC8
triadic
#3E57C8 #C83E57 #57C83E
tetradic
#3E57C8 #C83E9C #C8AF3E #3EC86A
square
#3E57C8 #C83E9C #C8AF3E #3EC86A
split-complementary
#3E57C8 #C86A3E #9CC83E
monochromatic
#1F2D6D #2D419C #3E57C8 #6E80D6 #9DAAE3

Accessibility & contrast

On white

6.17
#3E57C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3E57C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E57C8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E57C8#FFFFFF#000000##FFFFFF
##3E57C81.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3e57c8;
/* rgb */ color: rgb(62, 87, 200);
/* oklch */ color: oklch(50.4% 0.178 269.5);
Tailwind
colors: {
  custom: {
    50: '#8486da',
    500: '#3e57c8',
    950: '#000000',
  },
}
SCSS
$custom: #3e57c8;
$custom-light: #8486da;
$custom-dark: #000000;
JSON
{
  "hex": "#3e57c8",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 229.13,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.17765,
    "h": 269.5
  },
  "luminance": 0.12011
}

Semantic roles & 50–950 ramp

primary
#3E57C8
secondary
#CFC492
accent
#C449DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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