#4C4BBA#4C4BBA

#4C4BBA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.170 H 278.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4C4BBA
RGBrgb(76, 75, 186)
HSLhsl(241, 45%, 51%)
HSVhsv(241, 60%, 73%)
CMYKcmyk(59.1%, 59.7%, 0%, 27.1%)
CIE-LABlab(38.04, 33.33, -58.65)
CIE-LCHlch(38.04, 67.46, 299.61°)
OKLaboklab(47.94% 0.0244 -0.1685)
OKLCHoklch(47.94% 0.17 278.2)
XYZxyz(14.3567, 10.1128, 47.6403)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4BBA #B9BA4B
analogous
#4B81BA #4C4BBA #834BBA
triadic
#4C4BBA #BA4C4B #4BBA4C
tetradic
#4C4BBA #BA4B81 #B9BA4B #4BBA83
square
#4C4BBA #BA4B81 #B9BA4B #4BBA83
split-complementary
#4C4BBA #BA834B #81BA4B
monochromatic
#272664 #383790 #4C4BBA #7877CB #A4A3DC

Accessibility & contrast

On white

6.95
#4C4BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4C4BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4BBA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4BBA#FFFFFF#000000##FFFFFF
##4C4BBA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c4bba;
/* rgb */ color: rgb(76, 75, 186);
/* oklch */ color: oklch(47.9% 0.170 278.2);
Tailwind
colors: {
  custom: {
    50: '#897dd0',
    500: '#4c4bba',
    950: '#000000',
  },
}
SCSS
$custom: #4c4bba;
$custom-light: #897dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4bba",
  "rgb": {
    "r": 76,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 240.541,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47943,
    "c": 0.17026,
    "h": 278.2
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#4C4BBA
secondary
#C8C998
accent
#D454D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4C4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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