#4C5FDB#4C5FDB

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

Color values

HEX#4C5FDB
RGBrgb(76, 95, 219)
HSLhsl(232, 67%, 58%)
HSVhsv(232, 65%, 86%)
CMYKcmyk(65.3%, 56.6%, 0%, 14.1%)
CIE-LABlab(45.41, 31.99, -65.77)
CIE-LCHlch(45.41, 73.14, 295.94°)
OKLaboklab(54.18% 0.0064 -0.1892)
OKLCHoklch(54.18% 0.189 271.9)
XYZxyz(19.8546, 14.8336, 68.8209)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FDB #DBC84C
analogous
#4CA6DB #4C5FDB #804CDB
triadic
#4C5FDB #DB4C5F #5FDB4C
tetradic
#4C5FDB #DB4CA6 #DBC84C #4CDB80
square
#4C5FDB #DB4CA6 #DBC84C #4CDB80
split-complementary
#4C5FDB #DB804C #A6DB4C
monochromatic
#1D2C90 #273CC3 #4C5FDB #7F8DE5 #B2BAEF

Accessibility & contrast

On white

5.29
#4C5FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4C5FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FDB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FDB#FFFFFF#000000##FFFFFF
##4C5FDB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c5fdb;
/* rgb */ color: rgb(76, 95, 219);
/* oklch */ color: oklch(54.2% 0.189 271.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ce7',
    500: '#4c5fdb',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fdb;
$custom-light: #8d8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fdb",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 232.028,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.18936,
    "h": 271.9
  },
  "luminance": 0.14835
}

Semantic roles & 50–950 ramp

primary
#4C5FDB
secondary
#DED6A5
accent
#D33EE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C5FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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