#4B57D8#4B57D8

#4B57D8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.195 H 273.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4B57D8
RGBrgb(75, 87, 216)
HSLhsl(235, 64%, 57%)
HSVhsv(235, 65%, 85%)
CMYKcmyk(65.3%, 59.7%, 0%, 15.3%)
CIE-LABlab(43.17, 35.79, -67.70)
CIE-LCHlch(43.17, 76.58, 297.86°)
OKLaboklab(52.43% 0.012 -0.195)
OKLCHoklch(52.43% 0.195 273.5)
XYZxyz(18.7004, 13.2685, 66.5280)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57D8 #D8CC4B
analogous
#4B9DD8 #4B57D8 #864BD8
triadic
#4B57D8 #D84B57 #57D84B
tetradic
#4B57D8 #D84B9D #D8CC4B #4BD886
square
#4B57D8 #D84B9D #D8CC4B #4BD886
split-complementary
#4B57D8 #D8864B #9DD84B
monochromatic
#1E278B #2936BD #4B57D8 #7D86E3 #B0B5EE

Accessibility & contrast

On white

5.75
#4B57D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4B57D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57D8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57D8#FFFFFF#000000##FFFFFF
##4B57D81.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b57d8;
/* rgb */ color: rgb(75, 87, 216);
/* oklch */ color: oklch(52.4% 0.195 273.5);
Tailwind
colors: {
  custom: {
    50: '#8d86e5',
    500: '#4b57d8',
    950: '#000000',
  },
}
SCSS
$custom: #4b57d8;
$custom-light: #8d86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57d8",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 234.894,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.19541,
    "h": 273.5
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#4B57D8
secondary
#DCD7A3
accent
#D940E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4B57D8

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

Preview Lab → · Contrast checker → · Palette generator →

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