#3A57C8#3A57C8

#3A57C8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.179 H 268.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3A57C8
RGBrgb(58, 87, 200)
HSLhsl(228, 56%, 51%)
HSVhsv(228, 71%, 78%)
CMYKcmyk(71%, 56.5%, 0%, 21.6%)
CIE-LABlab(41.03, 27.78, -62.01)
CIE-LCHlch(41.03, 67.95, 294.13°)
OKLaboklab(50.21% -0.0053 -0.1787)
OKLCHoklch(50.21% 0.179 268.3)
XYZxyz(15.5748, 11.8845, 56.1055)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57C8 #C8AB3A
analogous
#3A9EC8 #3A57C8 #643AC8
triadic
#3A57C8 #C83A57 #57C83A
tetradic
#3A57C8 #C83A9E #C8AB3A #3AC864
square
#3A57C8 #C83A9E #C8AB3A #3AC864
split-complementary
#3A57C8 #C8643A #9EC83A
monochromatic
#1E2D6A #2B429A #3A57C8 #6A80D5 #9AA9E3

Accessibility & contrast

On white

6.22
#3A57C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3A57C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57C8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57C8#FFFFFF#000000##FFFFFF
##3A57C81.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a57c8;
/* rgb */ color: rgb(58, 87, 200);
/* oklch */ color: oklch(50.2% 0.179 268.3);
Tailwind
colors: {
  custom: {
    50: '#8286da',
    500: '#3a57c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a57c8;
$custom-light: #8286da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57c8",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 227.746,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.17878,
    "h": 268.3
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#3A57C8
secondary
#CEC28F
accent
#C148E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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