#4C5FDE#4C5FDE

#4C5FDE is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.193 H 271.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4C5FDE
RGBrgb(76, 95, 222)
HSLhsl(232, 69%, 58%)
HSVhsv(232, 66%, 87%)
CMYKcmyk(65.8%, 57.2%, 0%, 12.9%)
CIE-LABlab(45.62, 33.02, -67.12)
CIE-LCHlch(45.62, 74.80, 296.20°)
OKLaboklab(54.41% 0.0064 -0.1932)
OKLCHoklch(54.41% 0.193 271.9)
XYZxyz(20.2531, 14.9930, 70.9197)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FDE #DECB4C
analogous
#4CA8DE #4C5FDE #824CDE
triadic
#4C5FDE #DE4C5F #5FDE4C
tetradic
#4C5FDE #DE4CA8 #DECB4C #4CDE82
square
#4C5FDE #DE4CA8 #DECB4C #4CDE82
split-complementary
#4C5FDE #DE824C #A8DE4C
monochromatic
#1B2B94 #253AC8 #4C5FDE #808DE8 #B3BBF1

Accessibility & contrast

On white

5.25
#4C5FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C5FDE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FDE#FFFFFF#000000##FFFFFF
##4C5FDE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#007E95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c5fde;
/* rgb */ color: rgb(76, 95, 222);
/* oklch */ color: oklch(54.4% 0.193 271.9);
Tailwind
colors: {
  custom: {
    50: '#8e8ce9',
    500: '#4c5fde',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fde;
$custom-light: #8e8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fde",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 232.192,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.19332,
    "h": 271.9
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#4C5FDE
secondary
#E0D8A6
accent
#D53CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C5FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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