#4B57D9#4B57D9

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

Color values

HEX#4B57D9
RGBrgb(75, 87, 217)
HSLhsl(235, 65%, 57%)
HSVhsv(235, 65%, 85%)
CMYKcmyk(65.4%, 59.9%, 0%, 14.9%)
CIE-LABlab(43.24, 36.13, -68.15)
CIE-LCHlch(43.24, 77.13, 297.93°)
OKLaboklab(52.51% 0.0119 -0.1963)
OKLCHoklch(52.51% 0.197 273.5)
XYZxyz(18.8301, 13.3203, 67.2109)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57D9 #D9CD4B
analogous
#4B9ED9 #4B57D9 #864BD9
triadic
#4B57D9 #D94B57 #57D94B
tetradic
#4B57D9 #D94B9E #D9CD4B #4BD986
square
#4B57D9 #D94B9E #D9CD4B #4BD986
split-complementary
#4B57D9 #D9864B #9ED94B
monochromatic
#1E278C #2835BF #4B57D9 #7E86E4 #B0B5EE

Accessibility & contrast

On white

5.73
#4B57D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4B57D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57D9
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57D9#FFFFFF#000000##FFFFFF
##4B57D91.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b57d9;
/* rgb */ color: rgb(75, 87, 217);
/* oklch */ color: oklch(52.5% 0.197 273.5);
Tailwind
colors: {
  custom: {
    50: '#8d86e6',
    500: '#4b57d9',
    950: '#000000',
  },
}
SCSS
$custom: #4b57d9;
$custom-light: #8d86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57d9",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 234.93,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52509,
    "c": 0.19671,
    "h": 273.5
  },
  "luminance": 0.13322
}

Semantic roles & 50–950 ramp

primary
#4B57D9
secondary
#DDD8A3
accent
#DA40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4B57D9

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

Preview Lab → · Contrast checker → · Palette generator →

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