#4B5FDC#4B5FDC

#4B5FDC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.191 H 271.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4B5FDC
RGBrgb(75, 95, 220)
HSLhsl(232, 67%, 58%)
HSVhsv(232, 66%, 86%)
CMYKcmyk(65.9%, 56.8%, 0%, 13.7%)
CIE-LABlab(45.42, 32.19, -66.31)
CIE-LCHlch(45.42, 73.71, 295.89°)
OKLaboklab(54.2% 0.0054 -0.1909)
OKLCHoklch(54.2% 0.191 271.6)
XYZxyz(19.9078, 14.8458, 69.5127)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FDC #DCC84B
analogous
#4BA8DC #4B5FDC #7F4BDC
triadic
#4B5FDC #DC4B5F #5FDC4B
tetradic
#4B5FDC #DC4BA8 #DCC84B #4BDC7F
square
#4B5FDC #DC4BA8 #DCC84B #4BDC7F
split-complementary
#4B5FDC #DC7F4B #A8DC4B
monochromatic
#1C2C91 #263CC4 #4B5FDC #7E8DE6 #B1BAF0

Accessibility & contrast

On white

5.29
#4B5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4B5FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FDC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FDC#FFFFFF#000000##FFFFFF
##4B5FDC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4b5fdc;
/* rgb */ color: rgb(75, 95, 220);
/* oklch */ color: oklch(54.2% 0.191 271.6);
Tailwind
colors: {
  custom: {
    50: '#8d8ce8',
    500: '#4b5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fdc;
$custom-light: #8d8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fdc",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 231.724,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54198,
    "c": 0.19094,
    "h": 271.6
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#4B5FDC
secondary
#DED6A4
accent
#D23DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4B5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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