#3A57CD#3A57CD

#3A57CD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.185 H 268.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3A57CD
RGBrgb(58, 87, 205)
HSLhsl(228, 60%, 52%)
HSVhsv(228, 72%, 80%)
CMYKcmyk(71.7%, 57.6%, 0%, 19.6%)
CIE-LABlab(41.41, 29.59, -64.29)
CIE-LCHlch(41.41, 70.77, 294.72°)
OKLaboklab(50.61% -0.0051 -0.1854)
OKLCHoklch(50.61% 0.185 268.4)
XYZxyz(16.1688, 12.1220, 59.2334)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57CD #CDB03A
analogous
#3AA1CD #3A57CD #673ACD
triadic
#3A57CD #CD3A57 #57CD3A
tetradic
#3A57CD #CD3AA1 #CDB03A #3ACD67
square
#3A57CD #CD3AA1 #CDB03A #3ACD67
split-complementary
#3A57CD #CD673A #A1CD3A
monochromatic
#1C2D70 #2941A1 #3A57CD #6B81D9 #9CAAE6

Accessibility & contrast

On white

6.13
#3A57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3A57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57CD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57CD#FFFFFF#000000##FFFFFF
##3A57CD1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a57cd;
/* rgb */ color: rgb(58, 87, 205);
/* oklch */ color: oklch(50.6% 0.185 268.4);
Tailwind
colors: {
  custom: {
    50: '#8386dd',
    500: '#3a57cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a57cd;
$custom-light: #8386dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57cd",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 228.163,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.18545,
    "h": 268.4
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#3A57CD
secondary
#D2C591
accent
#C445E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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