#3A57CC#3A57CC

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

Color values

HEX#3A57CC
RGBrgb(58, 87, 204)
HSLhsl(228, 59%, 51%)
HSVhsv(228, 72%, 80%)
CMYKcmyk(71.6%, 57.4%, 0%, 20%)
CIE-LABlab(41.33, 29.23, -63.83)
CIE-LCHlch(41.33, 70.21, 294.60°)
OKLaboklab(50.53% -0.0051 -0.184)
OKLCHoklch(50.53% 0.184 268.4)
XYZxyz(16.0484, 12.0739, 58.5998)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57CC #CCAF3A
analogous
#3AA0CC #3A57CC #663ACC
triadic
#3A57CC #CC3A57 #57CC3A
tetradic
#3A57CC #CC3AA0 #CCAF3A #3ACC66
square
#3A57CC #CC3AA0 #CCAF3A #3ACC66
split-complementary
#3A57CC #CC663A #A0CC3A
monochromatic
#1D2D6F #2941A0 #3A57CC #6B80D9 #9BAAE5

Accessibility & contrast

On white

6.15
#3A57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A57CC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57CC#FFFFFF#000000##FFFFFF
##3A57CC1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a57cc;
/* rgb */ color: rgb(58, 87, 204);
/* oklch */ color: oklch(50.5% 0.184 268.4);
Tailwind
colors: {
  custom: {
    50: '#8386dc',
    500: '#3a57cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a57cc;
$custom-light: #8386dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57cc",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 228.082,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.18412,
    "h": 268.4
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#3A57CC
secondary
#D1C491
accent
#C346E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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