#3A57BB#3A57BB

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

Color values

HEX#3A57BB
RGBrgb(58, 87, 187)
HSLhsl(227, 53%, 48%)
HSVhsv(227, 69%, 73%)
CMYKcmyk(69%, 53.5%, 0%, 26.7%)
CIE-LABlab(40.09, 23.06, -55.98)
CIE-LCHlch(40.09, 60.55, 292.39°)
OKLaboklab(49.2% -0.006 -0.161)
OKLCHoklch(49.2% 0.161 267.9)
XYZxyz(14.1197, 11.3024, 48.4415)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57BB #BB9E3A
analogous
#3A97BB #3A57BB #5E3ABB
triadic
#3A57BB #BB3A57 #57BB3A
tetradic
#3A57BB #BB3A97 #BB9E3A #3ABB5E
square
#3A57BB #BB3A97 #BB9E3A #3ABB5E
split-complementary
#3A57BB #BB5E3A #97BB3A
monochromatic
#1D2C5E #2C418C #3A57BB #637CCF #92A3DD

Accessibility & contrast

On white

6.44
#3A57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3A57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57BB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57BB#FFFFFF#000000##FFFFFF
##3A57BB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a57bb;
/* rgb */ color: rgb(58, 87, 187);
/* oklch */ color: oklch(49.2% 0.161 267.9);
Tailwind
colors: {
  custom: {
    50: '#8086d0',
    500: '#3a57bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a57bb;
$custom-light: #8086d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57bb",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 226.512,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.16107,
    "h": 267.9
  },
  "luminance": 0.11304
}

Semantic roles & 50–950 ramp

primary
#3A57BB
secondary
#C8BA88
accent
#BC4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3A57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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