#4B57CC#4B57CC

#4B57CC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.179 H 273.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4B57CC
RGBrgb(75, 87, 204)
HSLhsl(234, 56%, 55%)
HSVhsv(234, 63%, 80%)
CMYKcmyk(63.2%, 57.4%, 0%, 20%)
CIE-LABlab(42.26, 31.71, -62.28)
CIE-LCHlch(42.26, 69.89, 296.98°)
OKLaboklab(51.48% 0.012 -0.1791)
OKLCHoklch(51.48% 0.18 273.8)
XYZxyz(17.2053, 12.6704, 58.6540)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57CC #CCC04B
analogous
#4B97CC #4B57CC #804BCC
triadic
#4B57CC #CC4B57 #57CC4B
tetradic
#4B57CC #CC4B97 #CCC04B #4BCC80
square
#4B57CC #CC4B97 #CCC04B #4BCC80
split-complementary
#4B57CC #CC804B #97CC4B
monochromatic
#232B7A #303BAA #4B57CC #7B84DA #AAB0E7

Accessibility & contrast

On white

5.94
#4B57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4B57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57CC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57CC#FFFFFF#000000##FFFFFF
##4B57CC1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b57cc;
/* rgb */ color: rgb(75, 87, 204);
/* oklch */ color: oklch(51.5% 0.179 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b86dc',
    500: '#4b57cc',
    950: '#000000',
  },
}
SCSS
$custom: #4b57cc;
$custom-light: #8b86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57cc",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 234.419,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.1795,
    "h": 273.8
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#4B57CC
secondary
#D5D09E
accent
#D149DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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