#4C57DB#4C57DB

#4C57DB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.199 H 273.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4C57DB
RGBrgb(76, 87, 219)
HSLhsl(235, 67%, 58%)
HSVhsv(235, 65%, 86%)
CMYKcmyk(65.3%, 60.3%, 0%, 14.1%)
CIE-LABlab(43.46, 36.95, -68.94)
CIE-LCHlch(43.46, 78.21, 298.19°)
OKLaboklab(52.73% 0.013 -0.1986)
OKLCHoklch(52.73% 0.199 273.7)
XYZxyz(19.1706, 13.4657, 68.5930)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C57DB #DBD04C
analogous
#4C9EDB #4C57DB #894CDB
triadic
#4C57DB #DB4C57 #57DB4C
tetradic
#4C57DB #DB4C9E #DBD04C #4CDB89
square
#4C57DB #DB4C9E #DBD04C #4CDB89
split-complementary
#4C57DB #DB894C #9EDB4C
monochromatic
#1D2690 #2733C3 #4C57DB #7F87E5 #B2B7EF

Accessibility & contrast

On white

5.69
#4C57DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4C57DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C57DB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C57DB#FFFFFF#000000##FFFFFF
##4C57DB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c57db;
/* rgb */ color: rgb(76, 87, 219);
/* oklch */ color: oklch(52.7% 0.199 273.7);
Tailwind
colors: {
  custom: {
    50: '#8e86e7',
    500: '#4c57db',
    950: '#000000',
  },
}
SCSS
$custom: #4c57db;
$custom-light: #8e86e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c57db",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 235.385,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.19906,
    "h": 273.7
  },
  "luminance": 0.13467
}

Semantic roles & 50–950 ramp

primary
#4C57DB
secondary
#DEDAA5
accent
#DC3EE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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