#4C4EBF#4C4EBF

#4C4EBF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.9% C 0.173 H 277.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4C4EBF
RGBrgb(76, 78, 191)
HSLhsl(239, 47%, 52%)
HSVhsv(239, 60%, 75%)
CMYKcmyk(60.2%, 59.2%, 0%, 25.1%)
CIE-LABlab(39.15, 33.12, -59.79)
CIE-LCHlch(39.15, 68.35, 298.99°)
OKLaboklab(48.88% 0.0214 -0.1718)
OKLCHoklch(48.88% 0.173 277.1)
XYZxyz(15.1058, 10.7457, 50.5582)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EBF #BFBD4C
analogous
#4C87BF #4C4EBF #844CBF
triadic
#4C4EBF #BF4C4E #4EBF4C
tetradic
#4C4EBF #BF4C87 #BFBD4C #4CBF84
square
#4C4EBF #BF4C87 #BFBD4C #4CBF84
split-complementary
#4C4EBF #BF844C #87BF4C
monochromatic
#26276B #363898 #4C4EBF #797BCF #A6A7DF

Accessibility & contrast

On white

6.67
#4C4EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4C4EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EBF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EBF#FFFFFF#000000##FFFFFF
##4C4EBF1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#00697F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c4ebf;
/* rgb */ color: rgb(76, 78, 191);
/* oklch */ color: oklch(48.9% 0.173 277.1);
Tailwind
colors: {
  custom: {
    50: '#897fd3',
    500: '#4c4ebf',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ebf;
$custom-light: #897fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ebf",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 238.957,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48878,
    "c": 0.17316,
    "h": 277.1
  },
  "luminance": 0.10747
}

Semantic roles & 50–950 ramp

primary
#4C4EBF
secondary
#CCCC9A
accent
#D551D7
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4C4EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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