#4C5EBE#4C5EBE

#4C5EBE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.151 H 272.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4C5EBE
RGBrgb(76, 94, 190)
HSLhsl(231, 47%, 52%)
HSVhsv(231, 60%, 75%)
CMYKcmyk(60%, 50.5%, 0%, 25.5%)
CIE-LABlab(43.15, 22.69, -52.73)
CIE-LCHlch(43.15, 57.41, 293.28°)
OKLaboklab(51.85% 0.0056 -0.1509)
OKLCHoklch(51.85% 0.151 272.1)
XYZxyz(16.2744, 13.2583, 50.4067)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5EBE #BEAC4C
analogous
#4C97BE #4C5EBE #734CBE
triadic
#4C5EBE #BE4C5E #5EBE4C
tetradic
#4C5EBE #BE4C97 #BEAC4C #4CBE73
square
#4C5EBE #BE4C97 #BEAC4C #4CBE73
split-complementary
#4C5EBE #BE734C #97BE4C
monochromatic
#263169 #374696 #4C5EBE #7986CE #A6AFDF

Accessibility & contrast

On white

5.75
#4C5EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4C5EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5EBE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5EBE#FFFFFF#000000##FFFFFF
##4C5EBE1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC1
Deuteranopia (green-blind)
#1161BC
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c5ebe;
/* rgb */ color: rgb(76, 94, 190);
/* oklch */ color: oklch(51.8% 0.151 272.1);
Tailwind
colors: {
  custom: {
    50: '#888bd2',
    500: '#4c5ebe',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ebe;
$custom-light: #888bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ebe",
  "rgb": {
    "r": 76,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 230.526,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51849,
    "c": 0.15102,
    "h": 272.1
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#4C5EBE
secondary
#CCC49A
accent
#C151D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4C5EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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