#4B57C8#4B57C8

#4B57C8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.174 H 273.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4B57C8
RGBrgb(75, 87, 200)
HSLhsl(234, 53%, 54%)
HSVhsv(234, 63%, 78%)
CMYKcmyk(62.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(41.97, 30.35, -60.44)
CIE-LCHlch(41.97, 67.64, 296.66°)
OKLaboklab(51.17% 0.0119 -0.1737)
OKLCHoklch(51.17% 0.174 273.9)
XYZxyz(16.7317, 12.4810, 56.1597)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57C8 #C8BC4B
analogous
#4B96C8 #4B57C8 #7E4BC8
triadic
#4B57C8 #C84B57 #57C84B
tetradic
#4B57C8 #C84B96 #C8BC4B #4BC87E
square
#4B57C8 #C84B96 #C8BC4B #4BC87E
split-complementary
#4B57C8 #C87E4B #96C84B
monochromatic
#242C75 #323DA4 #4B57C8 #7A83D6 #A9AFE5

Accessibility & contrast

On white

6.01
#4B57C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4B57C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57C8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57C8#FFFFFF#000000##FFFFFF
##4B57C81.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b57c8;
/* rgb */ color: rgb(75, 87, 200);
/* oklch */ color: oklch(51.2% 0.174 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a86d9',
    500: '#4b57c8',
    950: '#000000',
  },
}
SCSS
$custom: #4b57c8;
$custom-light: #8a86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57c8",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 234.24,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.17411,
    "h": 273.9
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#4B57C8
secondary
#D2CD9D
accent
#CF4BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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