#4C4FBE#4C4FBE

#4C4FBE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.171 H 276.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4C4FBE
RGBrgb(76, 79, 190)
HSLhsl(238, 47%, 52%)
HSVhsv(238, 60%, 75%)
CMYKcmyk(60%, 58.4%, 0%, 25.5%)
CIE-LABlab(39.32, 32.17, -58.93)
CIE-LCHlch(39.32, 67.14, 298.63°)
OKLaboklab(48.98% 0.0205 -0.1693)
OKLCHoklch(48.98% 0.171 276.9)
XYZxyz(15.0677, 10.8450, 50.0045)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FBE #BEBB4C
analogous
#4C88BE #4C4FBE #824CBE
triadic
#4C4FBE #BE4C4F #4FBE4C
tetradic
#4C4FBE #BE4C88 #BEBB4C #4CBE82
square
#4C4FBE #BE4C88 #BEBB4C #4CBE82
split-complementary
#4C4FBE #BE824C #88BE4C
monochromatic
#262869 #373996 #4C4FBE #797BCE #A6A7DF

Accessibility & contrast

On white

6.63
#4C4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4C4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FBE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FBE#FFFFFF#000000##FFFFFF
##4C4FBE1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c4fbe;
/* rgb */ color: rgb(76, 79, 190);
/* oklch */ color: oklch(49.0% 0.171 276.9);
Tailwind
colors: {
  custom: {
    50: '#8980d2',
    500: '#4c4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fbe;
$custom-light: #8980d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fbe",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 238.421,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4898,
    "c": 0.17053,
    "h": 276.9
  },
  "luminance": 0.10846
}

Semantic roles & 50–950 ramp

primary
#4C4FBE
secondary
#CCCA9A
accent
#D351D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4C4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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