#3A57BC#3A57BC

#3A57BC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.162 H 267.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3A57BC
RGBrgb(58, 87, 188)
HSLhsl(227, 53%, 48%)
HSVhsv(227, 69%, 74%)
CMYKcmyk(69.1%, 53.7%, 0%, 26.3%)
CIE-LABlab(40.16, 23.43, -56.45)
CIE-LCHlch(40.16, 61.12, 292.54°)
OKLaboklab(49.28% -0.006 -0.1623)
OKLCHoklch(49.28% 0.162 267.9)
XYZxyz(14.2271, 11.3454, 49.0073)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57BC #BC9F3A
analogous
#3A98BC #3A57BC #5E3ABC
triadic
#3A57BC #BC3A57 #57BC3A
tetradic
#3A57BC #BC3A98 #BC9F3A #3ABC5E
square
#3A57BC #BC3A98 #BC9F3A #3ABC5E
split-complementary
#3A57BC #BC5E3A #98BC3A
monochromatic
#1D2C5E #2C418D #3A57BC #647CCF #93A3DE

Accessibility & contrast

On white

6.42
#3A57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3A57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57BC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57BC#FFFFFF#000000##FFFFFF
##3A57BC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C65C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a57bc;
/* rgb */ color: rgb(58, 87, 188);
/* oklch */ color: oklch(49.3% 0.162 267.9);
Tailwind
colors: {
  custom: {
    50: '#8086d1',
    500: '#3a57bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a57bc;
$custom-light: #8086d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57bc",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 226.615,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.16246,
    "h": 267.9
  },
  "luminance": 0.11347
}

Semantic roles & 50–950 ramp

primary
#3A57BC
secondary
#C9BB89
accent
#BC4CDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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