#4C5EDA#4C5EDA

#4C5EDA is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.189 H 272.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4C5EDA
RGBrgb(76, 94, 218)
HSLhsl(232, 66%, 58%)
HSVhsv(232, 65%, 85%)
CMYKcmyk(65.1%, 56.9%, 0%, 14.5%)
CIE-LABlab(45.08, 32.27, -65.72)
CIE-LCHlch(45.08, 73.22, 296.16°)
OKLaboklab(53.92% 0.0072 -0.1891)
OKLCHoklch(53.92% 0.189 272.2)
XYZxyz(19.6338, 14.6021, 68.0999)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5EDA #DAC84C
analogous
#4CA5DA #4C5EDA #814CDA
triadic
#4C5EDA #DA4C5E #5EDA4C
tetradic
#4C5EDA #DA4CA5 #DAC84C #4CDA81
square
#4C5EDA #DA4CA5 #DAC84C #4CDA81
split-complementary
#4C5EDA #DA814C #A5DA4C
monochromatic
#1D2C8E #283BC1 #4C5EDA #7F8CE4 #B1B9EF

Accessibility & contrast

On white

5.36
#4C5EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4C5EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5EDA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5EDA#FFFFFF#000000##FFFFFF
##4C5EDA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c5eda;
/* rgb */ color: rgb(76, 94, 218);
/* oklch */ color: oklch(53.9% 0.189 272.2);
Tailwind
colors: {
  custom: {
    50: '#8d8be6',
    500: '#4c5eda',
    950: '#000000',
  },
}
SCSS
$custom: #4c5eda;
$custom-light: #8d8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5eda",
  "rgb": {
    "r": 76,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 232.394,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.18926,
    "h": 272.2
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#4C5EDA
secondary
#DDD6A4
accent
#D33FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4C5EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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