#4C48BB#4C48BB

#4C48BB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.5% C 0.175 H 278.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4C48BB
RGBrgb(76, 72, 187)
HSLhsl(242, 46%, 51%)
HSVhsv(242, 61%, 73%)
CMYKcmyk(59.4%, 61.5%, 0%, 26.7%)
CIE-LABlab(37.40, 35.52, -60.28)
CIE-LCHlch(37.40, 69.97, 300.51°)
OKLaboklab(47.5% 0.0272 -0.1733)
OKLCHoklch(47.5% 0.175 278.9)
XYZxyz(14.2646, 9.7581, 48.1359)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C48BB #B7BB48
analogous
#487DBB #4C48BB #8548BB
triadic
#4C48BB #BB4C48 #48BB4C
tetradic
#4C48BB #BB487D #B7BB48 #48BB85
square
#4C48BB #BB487D #B7BB48 #48BB85
split-complementary
#4C48BB #BB8548 #7DBB48
monochromatic
#272564 #393690 #4C48BB #7875CC #A3A1DC

Accessibility & contrast

On white

7.11
#4C48BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4C48BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C48BB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C48BB#FFFFFF#000000##FFFFFF
##4C48BB1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c48bb;
/* rgb */ color: rgb(76, 72, 187);
/* oklch */ color: oklch(47.5% 0.175 278.9);
Tailwind
colors: {
  custom: {
    50: '#897bd0',
    500: '#4c48bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c48bb;
$custom-light: #897bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c48bb",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 242.087,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47497,
    "c": 0.17544,
    "h": 278.9
  },
  "luminance": 0.09759
}

Semantic roles & 50–950 ramp

primary
#4C48BB
secondary
#C7C996
accent
#D552D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4C48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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