#4B57CB#4B57CB

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

Color values

HEX#4B57CB
RGBrgb(75, 87, 203)
HSLhsl(234, 55%, 55%)
HSVhsv(234, 63%, 80%)
CMYKcmyk(63.1%, 57.1%, 0%, 20.4%)
CIE-LABlab(42.19, 31.37, -61.82)
CIE-LCHlch(42.19, 69.33, 296.91°)
OKLaboklab(51.4% 0.012 -0.1777)
OKLCHoklch(51.4% 0.178 273.9)
XYZxyz(17.0858, 12.6226, 58.0244)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57CB #CBBF4B
analogous
#4B97CB #4B57CB #7F4BCB
triadic
#4B57CB #CB4B57 #57CB4B
tetradic
#4B57CB #CB4B97 #CBBF4B #4BCB7F
square
#4B57CB #CB4B97 #CBBF4B #4BCB7F
split-complementary
#4B57CB #CB7F4B #97CB4B
monochromatic
#232B79 #313CA8 #4B57CB #7A83D9 #AAB0E6

Accessibility & contrast

On white

5.96
#4B57CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B57CB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57CB#FFFFFF#000000##FFFFFF
##4B57CB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b57cb;
/* rgb */ color: rgb(75, 87, 203);
/* oklch */ color: oklch(51.4% 0.178 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a86dc',
    500: '#4b57cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b57cb;
$custom-light: #8a86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57cb",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 234.375,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51397,
    "c": 0.17815,
    "h": 273.9
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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