#4B5FE1#4B5FE1

#4B5FE1 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.198 H 271.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4B5FE1
RGBrgb(75, 95, 225)
HSLhsl(232, 71%, 59%)
HSVhsv(232, 67%, 88%)
CMYKcmyk(66.7%, 57.8%, 0%, 11.8%)
CIE-LABlab(45.79, 33.90, -68.55)
CIE-LCHlch(45.79, 76.48, 296.31°)
OKLaboklab(54.59% 0.0054 -0.1974)
OKLCHoklch(54.59% 0.198 271.6)
XYZxyz(20.5799, 15.1146, 73.0524)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FE1 #E1CD4B
analogous
#4BAAE1 #4B5FE1 #824BE1
triadic
#4B5FE1 #E14B5F #5FE14B
tetradic
#4B5FE1 #E14BAA #E1CD4B #4BE182
square
#4B5FE1 #E14BAA #E1CD4B #4BE182
split-complementary
#4B5FE1 #E1824B #AAE14B
monochromatic
#192A98 #2239CD #4B5FE1 #7F8EEA #B4BCF2

Accessibility & contrast

On white

5.22
#4B5FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4B5FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FE1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FE1#FFFFFF#000000##FFFFFF
##4B5FE11.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b5fe1;
/* rgb */ color: rgb(75, 95, 225);
/* oklch */ color: oklch(54.6% 0.198 271.6);
Tailwind
colors: {
  custom: {
    50: '#8e8ceb',
    500: '#4b5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fe1;
$custom-light: #8e8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fe1",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 232,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54589,
    "c": 0.19752,
    "h": 271.6
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#4B5FE1
secondary
#E1DAA6
accent
#D63AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4B5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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