#4C48CB#4C48CB

#4C48CB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.8% C 0.196 H 277.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4C48CB
RGBrgb(76, 72, 203)
HSLhsl(242, 56%, 54%)
HSVhsv(242, 65%, 80%)
CMYKcmyk(62.6%, 64.5%, 0%, 20.4%)
CIE-LABlab(38.69, 40.75, -67.51)
CIE-LCHlch(38.69, 78.86, 301.12°)
OKLaboklab(48.84% 0.026 -0.1945)
OKLCHoklch(48.84% 0.196 277.6)
XYZxyz(16.0739, 10.4818, 57.6645)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C48CB #C7CB48
analogous
#4886CB #4C48CB #8E48CB
triadic
#4C48CB #CB4C48 #48CB4C
tetradic
#4C48CB #CB4886 #C7CB48 #48CB8E
square
#4C48CB #CB4886 #C7CB48 #48CB8E
split-complementary
#4C48CB #CB8E48 #86CB48
monochromatic
#242277 #332FA6 #4C48CB #7B78D9 #A9A7E6

Accessibility & contrast

On white

6.78
#4C48CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4C48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C48CB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C48CB#FFFFFF#000000##FFFFFF
##4C48CB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c48cb;
/* rgb */ color: rgb(76, 72, 203);
/* oklch */ color: oklch(48.8% 0.196 277.6);
Tailwind
colors: {
  custom: {
    50: '#8c7bdc',
    500: '#4c48cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c48cb;
$custom-light: #8c7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c48cb",
  "rgb": {
    "r": 76,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 241.832,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4884,
    "c": 0.19628,
    "h": 277.6
  },
  "luminance": 0.10483
}

Semantic roles & 50–950 ramp

primary
#4C48CB
secondary
#D2D39B
accent
#DF49DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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