#4C5FDA#4C5FDA

#4C5FDA is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.188 H 271.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4C5FDA
RGBrgb(76, 95, 218)
HSLhsl(232, 66%, 58%)
HSVhsv(232, 65%, 85%)
CMYKcmyk(65.1%, 56.4%, 0%, 14.5%)
CIE-LABlab(45.33, 31.65, -65.32)
CIE-LCHlch(45.33, 72.58, 295.85°)
OKLaboklab(54.1% 0.0063 -0.1879)
OKLCHoklch(54.1% 0.188 271.9)
XYZxyz(19.7233, 14.7811, 68.1297)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FDA #DAC74C
analogous
#4CA6DA #4C5FDA #804CDA
triadic
#4C5FDA #DA4C5F #5FDA4C
tetradic
#4C5FDA #DA4CA6 #DAC74C #4CDA80
square
#4C5FDA #DA4CA6 #DAC74C #4CDA80
split-complementary
#4C5FDA #DA804C #A6DA4C
monochromatic
#1D2C8E #283CC1 #4C5FDA #7F8CE4 #B1BAEF

Accessibility & contrast

On white

5.31
#4C5FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4C5FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FDA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FDA#FFFFFF#000000##FFFFFF
##4C5FDA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c5fda;
/* rgb */ color: rgb(76, 95, 218);
/* oklch */ color: oklch(54.1% 0.188 271.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ce6',
    500: '#4c5fda',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fda;
$custom-light: #8d8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fda",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 231.972,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.18803,
    "h": 271.9
  },
  "luminance": 0.14783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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