#3A57BF#3A57BF

#3A57BF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.167 H 268.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#3A57BF
RGBrgb(58, 87, 191)
HSLhsl(227, 53%, 49%)
HSVhsv(227, 70%, 75%)
CMYKcmyk(69.6%, 54.5%, 0%, 25.1%)
CIE-LABlab(40.37, 24.52, -57.85)
CIE-LCHlch(40.37, 62.83, 292.97°)
OKLaboklab(49.51% -0.0058 -0.1665)
OKLCHoklch(49.51% 0.167 268)
XYZxyz(14.5538, 11.4761, 50.7282)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57BF #BFA23A
analogous
#3A9ABF #3A57BF #603ABF
triadic
#3A57BF #BF3A57 #57BF3A
tetradic
#3A57BF #BF3A9A #BFA23A #3ABF60
square
#3A57BF #BF3A9A #BFA23A #3ABF60
split-complementary
#3A57BF #BF603A #9ABF3A
monochromatic
#1D2C61 #2C4290 #3A57BF #667DD0 #95A5DF

Accessibility & contrast

On white

6.37
#3A57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3A57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57BF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57BF#FFFFFF#000000##FFFFFF
##3A57BF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a57bf;
/* rgb */ color: rgb(58, 87, 191);
/* oklch */ color: oklch(49.5% 0.167 268.0);
Tailwind
colors: {
  custom: {
    50: '#8086d3',
    500: '#3a57bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a57bf;
$custom-light: #8086d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57bf",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 226.917,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49508,
    "c": 0.16657,
    "h": 268
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#3A57BF
secondary
#CABC8B
accent
#BD4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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