#4B5DFF#4B5DFF

#4B5DFF is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.7% C 0.238 H 271.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4B5DFF
RGBrgb(75, 93, 255)
HSLhsl(234, 100%, 65%)
HSVhsv(234, 71%, 100%)
CMYKcmyk(70.6%, 63.5%, 0%, 0%)
CIE-LABlab(47.68, 45.29, -82.30)
CIE-LCHlch(47.68, 93.94, 298.82°)
OKLaboklab(56.71% 0.006 -0.2378)
OKLCHoklch(56.71% 0.238 271.5)
XYZxyz(24.8599, 16.5420, 96.4711)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5DFF #FFED4B
analogous
#4BB7FF #4B5DFF #934BFF
triadic
#4B5DFF #FF4B5D #5DFF4B
tetradic
#4B5DFF #FF4BB7 #FFED4B #4BFF93
square
#4B5DFF #FF4BB7 #FFED4B #4BFF93
split-complementary
#4B5DFF #FF934B #B7FF4B
monochromatic
#0015D0 #0E26FF #4B5DFF #8894FF #C5CBFF

Accessibility & contrast

On white

4.87
#4B5DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4B5DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5DFF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5DFF#FFFFFF#000000##FFFFFF
##4B5DFF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0069FC
Tritanopia (blue-blind)
#0087A6
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4b5dff;
/* rgb */ color: rgb(75, 93, 255);
/* oklch */ color: oklch(56.7% 0.238 271.5);
Tailwind
colors: {
  custom: {
    50: '#948bff',
    500: '#4b5dff',
    950: '#000000',
  },
}
SCSS
$custom: #4b5dff;
$custom-light: #948bff;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5dff",
  "rgb": {
    "r": 75,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 234,
    "s": 100,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56714,
    "c": 0.2379,
    "h": 271.5
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#4B5DFF
secondary
#F2ECB4
accent
#CF00E6
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #4B5DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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