#3A57BA#3A57BA

#3A57BA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.1% C 0.160 H 267.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3A57BA
RGBrgb(58, 87, 186)
HSLhsl(226, 52%, 48%)
HSVhsv(226, 69%, 73%)
CMYKcmyk(68.8%, 53.2%, 0%, 27.1%)
CIE-LABlab(40.01, 22.70, -55.51)
CIE-LCHlch(40.01, 59.97, 292.24°)
OKLaboklab(49.13% -0.0061 -0.1596)
OKLCHoklch(49.13% 0.16 267.8)
XYZxyz(14.0130, 11.2597, 47.8797)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57BA #BA9D3A
analogous
#3A97BA #3A57BA #5D3ABA
triadic
#3A57BA #BA3A57 #57BA3A
tetradic
#3A57BA #BA3A97 #BA9D3A #3ABA5D
square
#3A57BA #BA3A97 #BA9D3A #3ABA5D
split-complementary
#3A57BA #BA5D3A #97BA3A
monochromatic
#1D2B5D #2B418B #3A57BA #637BCE #92A3DD

Accessibility & contrast

On white

6.46
#3A57BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3A57BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57BA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57BA#FFFFFF#000000##FFFFFF
##3A57BA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1264BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a57ba;
/* rgb */ color: rgb(58, 87, 186);
/* oklch */ color: oklch(49.1% 0.160 267.8);
Tailwind
colors: {
  custom: {
    50: '#7f86cf',
    500: '#3a57ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a57ba;
$custom-light: #7f86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57ba",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 226.406,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49126,
    "c": 0.1597,
    "h": 267.8
  },
  "luminance": 0.11261
}

Semantic roles & 50–950 ramp

primary
#3A57BA
secondary
#C8B988
accent
#BB4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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