#4B48AB#4B48AB

#4B48AB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.154 H 279.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4B48AB
RGBrgb(75, 72, 171)
HSLhsl(242, 41%, 48%)
HSVhsv(242, 58%, 67%)
CMYKcmyk(56.1%, 57.9%, 0%, 32.9%)
CIE-LABlab(36.12, 30.08, -52.91)
CIE-LCHlch(36.12, 60.86, 299.61°)
OKLaboklab(46.15% 0.0263 -0.1517)
OKLCHoklch(46.15% 0.154 279.8)
XYZxyz(12.5674, 9.0700, 39.6086)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B48AB #A8AB48
analogous
#4877AB #4B48AB #7C48AB
triadic
#4B48AB #AB4B48 #48AB4B
tetradic
#4B48AB #AB4877 #A8AB48 #48AB7C
square
#4B48AB #AB4877 #A8AB48 #48AB7C
split-complementary
#4B48AB #AB7C48 #77AB48
monochromatic
#252455 #383680 #4B48AB #716EC2 #9B99D4

Accessibility & contrast

On white

7.46
#4B48AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4B48AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B48AB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B48AB#FFFFFF#000000##FFFFFF
##4B48AB1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#1A5F72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4b48ab;
/* rgb */ color: rgb(75, 72, 171);
/* oklch */ color: oklch(46.1% 0.154 279.8);
Tailwind
colors: {
  custom: {
    50: '#867bc5',
    500: '#4b48ab',
    950: '#000000',
  },
}
SCSS
$custom: #4b48ab;
$custom-light: #867bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b48ab",
  "rgb": {
    "r": 75,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 241.818,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46148,
    "c": 0.15394,
    "h": 279.8
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

primary
#4B48AB
secondary
#BFC08E
accent
#D157CD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4B48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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