#3A57A3#3A57A3

#3A57A3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.127 H 266.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3A57A3
RGBrgb(58, 87, 163)
HSLhsl(223, 48%, 43%)
HSVhsv(223, 64%, 64%)
CMYKcmyk(64.4%, 46.6%, 0%, 36.1%)
CIE-LABlab(38.48, 14.34, -44.40)
CIE-LCHlch(38.48, 46.65, 287.90°)
OKLaboklab(47.47% -0.0088 -0.1269)
OKLCHoklch(47.47% 0.127 266)
XYZxyz(11.7617, 10.3592, 36.0229)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57A3 #A3863A
analogous
#3A8BA3 #3A57A3 #523AA3
triadic
#3A57A3 #A33A57 #57A33A
tetradic
#3A57A3 #A33A8B #A3863A #3AA352
square
#3A57A3 #A33A8B #A3863A #3AA352
split-complementary
#3A57A3 #A3523A #8BA33A
monochromatic
#1A2749 #2A3F76 #3A57A3 #5775C3 #849AD3

Accessibility & contrast

On white

6.84
#3A57A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3A57A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57A3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57A3#FFFFFF#000000##FFFFFF
##3A57A31.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#2056A1
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a57a3;
/* rgb */ color: rgb(58, 87, 163);
/* oklch */ color: oklch(47.5% 0.127 266.0);
Tailwind
colors: {
  custom: {
    50: '#7b86bf',
    500: '#3a57a3',
    950: '#000000',
  },
}
SCSS
$custom: #3a57a3;
$custom-light: #7b86bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57a3",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 163
  },
  "hsl": {
    "h": 223.429,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47467,
    "c": 0.12719,
    "h": 266
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#3A57A3
secondary
#BDAB7C
accent
#B251D7
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A57A3

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

Preview Lab → · Contrast checker → · Palette generator →

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