#4B5CE8#4B5CE8

#4B5CE8 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.6% C 0.210 H 272.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4B5CE8
RGBrgb(75, 92, 232)
HSLhsl(234, 77%, 60%)
HSVhsv(234, 68%, 91%)
CMYKcmyk(67.7%, 60.3%, 0%, 9%)
CIE-LABlab(45.60, 38.14, -72.82)
CIE-LCHlch(45.60, 82.21, 297.64°)
OKLaboklab(54.61% 0.0077 -0.21)
OKLCHoklch(54.61% 0.21 272.1)
XYZxyz(21.2894, 14.9743, 78.0967)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5CE8 #E8D74B
analogous
#4BABE8 #4B5CE8 #884BE8
triadic
#4B5CE8 #E84B5C #5CE84B
tetradic
#4B5CE8 #E84BAB #E8D74B #4BE888
square
#4B5CE8 #E84BAB #E8D74B #4BE888
split-complementary
#4B5CE8 #E8884B #ABE84B
monochromatic
#1524A4 #1C30DA #4B5CE8 #818DEF #B8BEF6

Accessibility & contrast

On white

5.26
#4B5CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4B5CE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5CE8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5CE8#FFFFFF#000000##FFFFFF
##4B5CE81.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b5ce8;
/* rgb */ color: rgb(75, 92, 232);
/* oklch */ color: oklch(54.6% 0.210 272.1);
Tailwind
colors: {
  custom: {
    50: '#8f8af0',
    500: '#4b5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #4b5ce8;
$custom-light: #8f8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5ce8",
  "rgb": {
    "r": 75,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 233.503,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.21017,
    "h": 272.1
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#4B5CE8
secondary
#E6DFA9
accent
#C30CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4B5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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