#4A57CB#4A57CB

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

Color values

HEX#4A57CB
RGBrgb(74, 87, 203)
HSLhsl(234, 55%, 54%)
HSVhsv(234, 64%, 80%)
CMYKcmyk(63.5%, 57.1%, 0%, 20.4%)
CIE-LABlab(42.13, 31.21, -61.93)
CIE-LCHlch(42.13, 69.35, 296.75°)
OKLaboklab(51.33% 0.0109 -0.1781)
OKLCHoklch(51.33% 0.178 273.5)
XYZxyz(17.0082, 12.5826, 58.0207)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A57CB #CBBE4A
analogous
#4A98CB #4A57CB #7D4ACB
triadic
#4A57CB #CB4A57 #57CB4A
tetradic
#4A57CB #CB4A98 #CBBE4A #4ACB7D
square
#4A57CB #CB4A98 #CBBE4A #4ACB7D
split-complementary
#4A57CB #CB7D4A #98CB4A
monochromatic
#232B78 #303CA8 #4A57CB #7A83D9 #A9AFE6

Accessibility & contrast

On white

5.97
#4A57CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4A57CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A57CB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A57CB#FFFFFF#000000##FFFFFF
##4A57CB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a57cb;
/* rgb */ color: rgb(74, 87, 203);
/* oklch */ color: oklch(51.3% 0.178 273.5);
Tailwind
colors: {
  custom: {
    50: '#8a86dc',
    500: '#4a57cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a57cb;
$custom-light: #8a86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a57cb",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 233.953,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.17841,
    "h": 273.5
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#4A57CB
secondary
#D4CE9D
accent
#D049DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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