#4A57FF#4A57FF

#4A57FF is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.245 H 272.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4A57FF
RGBrgb(74, 87, 255)
HSLhsl(236, 100%, 65%)
HSVhsv(236, 71%, 100%)
CMYKcmyk(71%, 65.9%, 0%, 0%)
CIE-LABlab(46.30, 48.71, -84.57)
CIE-LCHlch(46.30, 97.59, 299.94°)
OKLaboklab(55.69% 0.0087 -0.2445)
OKLCHoklch(55.69% 0.245 272)
XYZxyz(24.2761, 15.4898, 96.2988)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57FF #FFF24A
analogous
#4AB1FF #4A57FF #984AFF
triadic
#4A57FF #FF4A57 #57FF4A
tetradic
#4A57FF #FF4AB1 #FFF24A #4AFF98
square
#4A57FF #FF4AB1 #FFF24A #4AFF98
split-complementary
#4A57FF #FF984A #B1FF4A
monochromatic
#000FCF #0D1EFF #4A57FF #8790FF #C4C9FF

Accessibility & contrast

On white

5.12
#4A57FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4A57FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57FF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57FF#FFFFFF#000000##FFFFFF
##4A57FF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0065FC
Tritanopia (blue-blind)
#0084A4
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4a57ff;
/* rgb */ color: rgb(74, 87, 255);
/* oklch */ color: oklch(55.7% 0.245 272.0);
Tailwind
colors: {
  custom: {
    50: '#9487ff',
    500: '#4a57ff',
    950: '#000000',
  },
}
SCSS
$custom: #4a57ff;
$custom-light: #9487ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57ff",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 235.691,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55693,
    "c": 0.24465,
    "h": 272
  },
  "luminance": 0.15492
}

Semantic roles & 50–950 ramp

primary
#4A57FF
secondary
#F2EDB3
accent
#D500E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #4A57FF

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

Preview Lab → · Contrast checker → · Palette generator →

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