#4B57CF#4B57CF

#4B57CF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.184 H 273.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4B57CF
RGBrgb(75, 87, 207)
HSLhsl(235, 58%, 55%)
HSVhsv(235, 64%, 81%)
CMYKcmyk(63.8%, 58%, 0%, 18.8%)
CIE-LABlab(42.48, 32.73, -63.65)
CIE-LCHlch(42.48, 71.57, 297.22°)
OKLaboklab(51.71% 0.012 -0.1831)
OKLCHoklch(51.71% 0.184 273.8)
XYZxyz(17.5686, 12.8157, 60.5672)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57CF #CFC34B
analogous
#4B99CF #4B57CF #814BCF
triadic
#4B57CF #CF4B57 #57CF4B
tetradic
#4B57CF #CF4B99 #CFC34B #4BCF81
square
#4B57CF #CF4B99 #CFC34B #4BCF81
split-complementary
#4B57CF #CF814B #99CF4B
monochromatic
#222A7E #2E3AAE #4B57CF #7B84DC #ACB1E9

Accessibility & contrast

On white

5.89
#4B57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4B57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57CF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57CF#FFFFFF#000000##FFFFFF
##4B57CF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b57cf;
/* rgb */ color: rgb(75, 87, 207);
/* oklch */ color: oklch(51.7% 0.184 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b86df',
    500: '#4b57cf',
    950: '#000000',
  },
}
SCSS
$custom: #4b57cf;
$custom-light: #8b86df;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57cf",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 234.545,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.18351,
    "h": 273.8
  },
  "luminance": 0.12817
}

Semantic roles & 50–950 ramp

primary
#4B57CF
secondary
#D6D19F
accent
#D347E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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