#3A57D2#3A57D2

#3A57D2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.192 H 268.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#3A57D2
RGBrgb(58, 87, 210)
HSLhsl(229, 63%, 53%)
HSVhsv(229, 72%, 82%)
CMYKcmyk(72.4%, 58.6%, 0%, 17.6%)
CIE-LABlab(41.79, 31.39, -66.54)
CIE-LCHlch(41.79, 73.57, 295.26°)
OKLaboklab(51.02% -0.005 -0.192)
OKLCHoklch(51.02% 0.192 268.5)
XYZxyz(16.7820, 12.3673, 62.4630)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57D2 #D2B53A
analogous
#3AA3D2 #3A57D2 #693AD2
triadic
#3A57D2 #D23A57 #57D23A
tetradic
#3A57D2 #D23AA3 #D2B53A #3AD269
square
#3A57D2 #D23AA3 #D2B53A #3AD269
split-complementary
#3A57D2 #D2693A #A3D23A
monochromatic
#1B2D77 #263FA8 #3A57D2 #6C81DD #9EACE9

Accessibility & contrast

On white

6.05
#3A57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3A57D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57D2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57D2#FFFFFF#000000##FFFFFF
##3A57D21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a57d2;
/* rgb */ color: rgb(58, 87, 210);
/* oklch */ color: oklch(51.0% 0.192 268.5);
Tailwind
colors: {
  custom: {
    50: '#8486e1',
    500: '#3a57d2',
    950: '#000000',
  },
}
SCSS
$custom: #3a57d2;
$custom-light: #8486e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57d2",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 228.553,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.19207,
    "h": 268.5
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#3A57D2
secondary
#D5C893
accent
#C742E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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