#3A57C2#3A57C2

#3A57C2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.171 H 268.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#3A57C2
RGBrgb(58, 87, 194)
HSLhsl(227, 54%, 49%)
HSVhsv(227, 70%, 76%)
CMYKcmyk(70.1%, 55.2%, 0%, 23.9%)
CIE-LABlab(40.59, 25.61, -59.25)
CIE-LCHlch(40.59, 64.55, 293.37°)
OKLaboklab(49.74% -0.0056 -0.1706)
OKLCHoklch(49.74% 0.171 268.1)
XYZxyz(14.8874, 11.6095, 52.4848)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57C2 #C2A53A
analogous
#3A9BC2 #3A57C2 #613AC2
triadic
#3A57C2 #C23A57 #57C23A
tetradic
#3A57C2 #C23A9B #C2A53A #3AC261
square
#3A57C2 #C23A9B #C2A53A #3AC261
split-complementary
#3A57C2 #C2613A #9BC23A
monochromatic
#1E2D64 #2C4293 #3A57C2 #677ED2 #97A6E0

Accessibility & contrast

On white

6.32
#3A57C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3A57C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57C2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57C2#FFFFFF#000000##FFFFFF
##3A57C21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a57c2;
/* rgb */ color: rgb(58, 87, 194);
/* oklch */ color: oklch(49.7% 0.171 268.1);
Tailwind
colors: {
  custom: {
    50: '#8186d5',
    500: '#3a57c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a57c2;
$custom-light: #8186d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57c2",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 227.206,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.17066,
    "h": 268.1
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#3A57C2
secondary
#CBBE8D
accent
#BE4ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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