#4C4FBA#4C4FBA

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

Color values

HEX#4C4FBA
RGBrgb(76, 79, 186)
HSLhsl(238, 44%, 51%)
HSVhsv(238, 59%, 73%)
CMYKcmyk(59.1%, 57.5%, 0%, 27.1%)
CIE-LABlab(39.02, 30.83, -57.06)
CIE-LCHlch(39.02, 64.86, 298.38°)
OKLaboklab(48.67% 0.0205 -0.1638)
OKLCHoklch(48.67% 0.165 277.1)
XYZxyz(14.6366, 10.6726, 47.7336)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FBA #BAB74C
analogous
#4C86BA #4C4FBA #804CBA
triadic
#4C4FBA #BA4C4F #4FBA4C
tetradic
#4C4FBA #BA4C86 #BAB74C #4CBA80
square
#4C4FBA #BA4C86 #BAB74C #4CBA80
split-complementary
#4C4FBA #BA804C #86BA4C
monochromatic
#272965 #383A91 #4C4FBA #787ACB #A4A6DC

Accessibility & contrast

On white

6.70
#4C4FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4C4FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FBA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FBA#FFFFFF#000000##FFFFFF
##4C4FBA1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c4fba;
/* rgb */ color: rgb(76, 79, 186);
/* oklch */ color: oklch(48.7% 0.165 277.1);
Tailwind
colors: {
  custom: {
    50: '#8880cf',
    500: '#4c4fba',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fba;
$custom-light: #8880cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fba",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 238.364,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.16509,
    "h": 277.1
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#4C4FBA
secondary
#C9C899
accent
#D154D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4C4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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