#4A48CB#4A48CB

#4A48CB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.197 H 276.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4A48CB
RGBrgb(74, 72, 203)
HSLhsl(241, 56%, 54%)
HSVhsv(241, 65%, 80%)
CMYKcmyk(63.5%, 64.5%, 0%, 20.4%)
CIE-LABlab(38.55, 40.46, -67.75)
CIE-LCHlch(38.55, 78.91, 300.85°)
OKLaboklab(48.7% 0.0236 -0.1953)
OKLCHoklch(48.7% 0.197 276.9)
XYZxyz(15.9174, 10.4011, 57.6571)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A48CB #C9CB48
analogous
#4888CB #4A48CB #8C48CB
triadic
#4A48CB #CB4A48 #48CB4A
tetradic
#4A48CB #CB4888 #C9CB48 #48CB8C
square
#4A48CB #CB4888 #C9CB48 #48CB8C
split-complementary
#4A48CB #CB8C48 #88CB48
monochromatic
#232277 #312FA6 #4A48CB #7978D9 #A8A7E6

Accessibility & contrast

On white

6.82
#4A48CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4A48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A48CB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A48CB#FFFFFF#000000##FFFFFF
##4A48CB1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a48cb;
/* rgb */ color: rgb(74, 72, 203);
/* oklch */ color: oklch(48.7% 0.197 276.9);
Tailwind
colors: {
  custom: {
    50: '#8b7bdc',
    500: '#4a48cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a48cb;
$custom-light: #8b7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a48cb",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 240.916,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48701,
    "c": 0.19672,
    "h": 276.9
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#4A48CB
secondary
#D2D39B
accent
#DF49DD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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