#4B5FD7#4B5FD7

#4B5FD7 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.184 H 271.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4B5FD7
RGBrgb(75, 95, 215)
HSLhsl(231, 64%, 57%)
HSVhsv(231, 65%, 84%)
CMYKcmyk(65.1%, 55.8%, 0%, 15.7%)
CIE-LABlab(45.06, 30.47, -64.05)
CIE-LCHlch(45.06, 70.93, 295.44°)
OKLaboklab(53.81% 0.0052 -0.1842)
OKLCHoklch(53.81% 0.184 271.6)
XYZxyz(19.2555, 14.5848, 66.0772)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FD7 #D7C34B
analogous
#4BA5D7 #4B5FD7 #7D4BD7
triadic
#4B5FD7 #D74B5F #5FD74B
tetradic
#4B5FD7 #D74BA5 #D7C34B #4BD77D
square
#4B5FD7 #D74BA5 #D7C34B #4BD77D
split-complementary
#4B5FD7 #D77D4B #A5D74B
monochromatic
#1E2E89 #2A3EBB #4B5FD7 #7D8CE2 #AFB8ED

Accessibility & contrast

On white

5.36
#4B5FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4B5FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FD7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FD7#FFFFFF#000000##FFFFFF
##4B5FD71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4b5fd7;
/* rgb */ color: rgb(75, 95, 215);
/* oklch */ color: oklch(53.8% 0.184 271.6);
Tailwind
colors: {
  custom: {
    50: '#8c8ce4',
    500: '#4b5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fd7;
$custom-light: #8c8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fd7",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 231.429,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.18429,
    "h": 271.6
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#4B5FD7
secondary
#DBD3A2
accent
#CF41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4B5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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