#4C48AF#4C48AF

#4C48AF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.159 H 280.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4C48AF
RGBrgb(76, 72, 175)
HSLhsl(242, 42%, 48%)
HSVhsv(242, 59%, 69%)
CMYKcmyk(56.6%, 58.9%, 0%, 31.4%)
CIE-LABlab(36.49, 31.58, -54.68)
CIE-LCHlch(36.49, 63.15, 300.01°)
OKLaboklab(46.54% 0.0276 -0.1569)
OKLCHoklch(46.54% 0.159 280)
XYZxyz(13.0333, 9.2655, 41.6508)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C48AF #ABAF48
analogous
#4877AF #4C48AF #7F48AF
triadic
#4C48AF #AF4C48 #48AF4C
tetradic
#4C48AF #AF4877 #ABAF48 #48AF7F
square
#4C48AF #AF4877 #ABAF48 #48AF7F
split-complementary
#4C48AF #AF7F48 #77AF48
monochromatic
#262458 #393684 #4C48AF #7370C4 #9E9BD6

Accessibility & contrast

On white

7.36
#4C48AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4C48AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C48AF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C48AF#FFFFFF#000000##FFFFFF
##4C48AF1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#186074
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c48af;
/* rgb */ color: rgb(76, 72, 175);
/* oklch */ color: oklch(46.5% 0.159 280.0);
Tailwind
colors: {
  custom: {
    50: '#877bc8',
    500: '#4c48af',
    950: '#000000',
  },
}
SCSS
$custom: #4c48af;
$custom-light: #877bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c48af",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 242.33,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46536,
    "c": 0.15926,
    "h": 280
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#4C48AF
secondary
#C0C290
accent
#D256CD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4C48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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