#4B57D7#4B57D7

#4B57D7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.194 H 273.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4B57D7
RGBrgb(75, 87, 215)
HSLhsl(235, 64%, 57%)
HSVhsv(235, 65%, 84%)
CMYKcmyk(65.1%, 59.5%, 0%, 15.7%)
CIE-LABlab(43.09, 35.45, -67.26)
CIE-LCHlch(43.09, 76.03, 297.79°)
OKLaboklab(52.35% 0.012 -0.1937)
OKLCHoklch(52.35% 0.194 273.5)
XYZxyz(18.5715, 13.2169, 65.8492)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57D7 #D7CB4B
analogous
#4B9DD7 #4B57D7 #854BD7
triadic
#4B57D7 #D74B57 #57D74B
tetradic
#4B57D7 #D74B9D #D7CB4B #4BD785
square
#4B57D7 #D74B9D #D7CB4B #4BD785
split-complementary
#4B57D7 #D7854B #9DD74B
monochromatic
#1E2889 #2A36BB #4B57D7 #7D86E2 #AFB4ED

Accessibility & contrast

On white

5.76
#4B57D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4B57D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57D7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57D7#FFFFFF#000000##FFFFFF
##4B57D71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b57d7;
/* rgb */ color: rgb(75, 87, 215);
/* oklch */ color: oklch(52.3% 0.194 273.5);
Tailwind
colors: {
  custom: {
    50: '#8d86e4',
    500: '#4b57d7',
    950: '#000000',
  },
}
SCSS
$custom: #4b57d7;
$custom-light: #8d86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57d7",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 234.857,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52347,
    "c": 0.1941,
    "h": 273.5
  },
  "luminance": 0.13219
}

Semantic roles & 50–950 ramp

primary
#4B57D7
secondary
#DBD7A2
accent
#D841E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4B57D7

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

Preview Lab → · Contrast checker → · Palette generator →

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