#4A57BB#4A57BB

#4A57BB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.157 H 273.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4A57BB
RGBrgb(74, 87, 187)
HSLhsl(233, 45%, 51%)
HSVhsv(233, 60%, 73%)
CMYKcmyk(60.4%, 53.5%, 0%, 26.7%)
CIE-LABlab(40.99, 25.74, -54.47)
CIE-LCHlch(40.99, 60.25, 295.29°)
OKLaboklab(50.13% 0.0103 -0.1562)
OKLCHoklch(50.13% 0.157 273.8)
XYZxyz(15.1989, 11.8589, 48.4921)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57BB #BBAE4A
analogous
#4A8FBB #4A57BB #754ABB
triadic
#4A57BB #BB4A57 #57BB4A
tetradic
#4A57BB #BB4A8F #BBAE4A #4ABB75
square
#4A57BB #BB4A8F #BBAE4A #4ABB75
split-complementary
#4A57BB #BB754A #8FBB4A
monochromatic
#262D65 #374191 #4A57BB #7680CC #A3AADC

Accessibility & contrast

On white

6.23
#4A57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4A57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57BB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57BB#FFFFFF#000000##FFFFFF
##4A57BB1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866BE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a57bb;
/* rgb */ color: rgb(74, 87, 187);
/* oklch */ color: oklch(50.1% 0.157 273.8);
Tailwind
colors: {
  custom: {
    50: '#8786d0',
    500: '#4a57bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a57bb;
$custom-light: #8786d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57bb",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 233.097,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50125,
    "c": 0.1565,
    "h": 273.8
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#4A57BB
secondary
#C9C497
accent
#C653D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4A57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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