#3A57C4#3A57C4

#3A57C4 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.173 H 268.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#3A57C4
RGBrgb(58, 87, 196)
HSLhsl(227, 54%, 50%)
HSVhsv(227, 70%, 77%)
CMYKcmyk(70.4%, 55.6%, 0%, 23.1%)
CIE-LABlab(40.74, 26.33, -60.17)
CIE-LCHlch(40.74, 65.68, 293.64°)
OKLaboklab(49.9% -0.0055 -0.1733)
OKLCHoklch(49.9% 0.173 268.2)
XYZxyz(15.1135, 11.6999, 53.6757)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57C4 #C4A73A
analogous
#3A9CC4 #3A57C4 #623AC4
triadic
#3A57C4 #C43A57 #57C43A
tetradic
#3A57C4 #C43A9C #C4A73A #3AC462
square
#3A57C4 #C43A9C #C4A73A #3AC462
split-complementary
#3A57C4 #C4623A #9CC43A
monochromatic
#1E2D66 #2C4295 #3A57C4 #697FD3 #98A7E0

Accessibility & contrast

On white

6.29
#3A57C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3A57C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57C4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57C4#FFFFFF#000000##FFFFFF
##3A57C41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a57c4;
/* rgb */ color: rgb(58, 87, 196);
/* oklch */ color: oklch(49.9% 0.173 268.2);
Tailwind
colors: {
  custom: {
    50: '#8186d7',
    500: '#3a57c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a57c4;
$custom-light: #8186d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57c4",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 196
  },
  "hsl": {
    "h": 227.391,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49897,
    "c": 0.17338,
    "h": 268.2
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#3A57C4
secondary
#CCBF8E
accent
#BF4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A57C4

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

Preview Lab → · Contrast checker → · Palette generator →

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