#4A57BC#4A57BC

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

Color values

HEX#4A57BC
RGBrgb(74, 87, 188)
HSLhsl(233, 46%, 51%)
HSVhsv(233, 61%, 74%)
CMYKcmyk(60.6%, 53.7%, 0%, 26.3%)
CIE-LABlab(41.06, 26.08, -54.95)
CIE-LCHlch(41.06, 60.82, 295.39°)
OKLaboklab(50.2% 0.0104 -0.1575)
OKLCHoklch(50.2% 0.158 273.8)
XYZxyz(15.3064, 11.9019, 49.0579)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57BC #BCAF4A
analogous
#4A90BC #4A57BC #764ABC
triadic
#4A57BC #BC4A57 #57BC4A
tetradic
#4A57BC #BC4A90 #BCAF4A #4ABC76
square
#4A57BC #BC4A90 #BCAF4A #4ABC76
split-complementary
#4A57BC #BC764A #90BC4A
monochromatic
#262D66 #364193 #4A57BC #7780CD #A3AADD

Accessibility & contrast

On white

6.21
#4A57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4A57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57BC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57BC#FFFFFF#000000##FFFFFF
##4A57BC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a57bc;
/* rgb */ color: rgb(74, 87, 188);
/* oklch */ color: oklch(50.2% 0.158 273.8);
Tailwind
colors: {
  custom: {
    50: '#8786d1',
    500: '#4a57bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a57bc;
$custom-light: #8786d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57bc",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 233.158,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50199,
    "c": 0.15789,
    "h": 273.8
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#4A57BC
secondary
#CAC498
accent
#C752D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4A57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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