#4A57CA#4A57CA

#4A57CA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.177 H 273.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4A57CA
RGBrgb(74, 87, 202)
HSLhsl(234, 55%, 54%)
HSVhsv(234, 63%, 79%)
CMYKcmyk(63.4%, 56.9%, 0%, 20.8%)
CIE-LABlab(42.05, 30.87, -61.47)
CIE-LCHlch(42.05, 68.78, 296.66°)
OKLaboklab(51.26% 0.0109 -0.1767)
OKLCHoklch(51.26% 0.177 273.5)
XYZxyz(16.8894, 12.5351, 57.3951)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57CA #CABD4A
analogous
#4A97CA #4A57CA #7D4ACA
triadic
#4A57CA #CA4A57 #57CA4A
tetradic
#4A57CA #CA4A97 #CABD4A #4ACA7D
square
#4A57CA #CA4A97 #CABD4A #4ACA7D
split-complementary
#4A57CA #CA7D4A #97CA4A
monochromatic
#232B77 #313DA6 #4A57CA #7983D8 #A9AFE6

Accessibility & contrast

On white

5.99
#4A57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4A57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57CA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57CA#FFFFFF#000000##FFFFFF
##4A57CA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a57ca;
/* rgb */ color: rgb(74, 87, 202);
/* oklch */ color: oklch(51.3% 0.177 273.5);
Tailwind
colors: {
  custom: {
    50: '#8a86db',
    500: '#4a57ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a57ca;
$custom-light: #8a86db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57ca",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 233.906,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.17707,
    "h": 273.5
  },
  "luminance": 0.12537
}

Semantic roles & 50–950 ramp

primary
#4A57CA
secondary
#D3CE9D
accent
#CF4ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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