#4C49BA#4C49BA

#4C49BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.173 H 278.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4C49BA
RGBrgb(76, 73, 186)
HSLhsl(242, 45%, 51%)
HSVhsv(242, 61%, 73%)
CMYKcmyk(59.1%, 60.8%, 0%, 27.1%)
CIE-LABlab(37.56, 34.57, -59.43)
CIE-LCHlch(37.56, 68.76, 300.19°)
OKLaboklab(47.59% 0.0263 -0.1708)
OKLCHoklch(47.59% 0.173 278.7)
XYZxyz(14.2231, 9.8457, 47.5958)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C49BA #B7BA49
analogous
#497EBA #4C49BA #8449BA
triadic
#4C49BA #BA4C49 #49BA4C
tetradic
#4C49BA #BA497E #B7BA49 #49BA84
square
#4C49BA #BA497E #B7BA49 #49BA84
split-complementary
#4C49BA #BA8449 #7EBA49
monochromatic
#272663 #39368F #4C49BA #7875CB #A3A2DC

Accessibility & contrast

On white

7.07
#4C49BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4C49BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C49BA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C49BA#FFFFFF#000000##FFFFFF
##4C49BA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c49ba;
/* rgb */ color: rgb(76, 73, 186);
/* oklch */ color: oklch(47.6% 0.173 278.7);
Tailwind
colors: {
  custom: {
    50: '#897cd0',
    500: '#4c49ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c49ba;
$custom-light: #897cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c49ba",
  "rgb": {
    "r": 76,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 241.593,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.17283,
    "h": 278.7
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#4C49BA
secondary
#C7C896
accent
#D553D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4C49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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