#4B4ABA#4B4ABA

#4B4ABA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.172 H 278.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4B4ABA
RGBrgb(75, 74, 186)
HSLhsl(241, 45%, 51%)
HSVhsv(241, 60%, 73%)
CMYKcmyk(59.7%, 60.2%, 0%, 27.1%)
CIE-LABlab(37.73, 33.78, -59.17)
CIE-LCHlch(37.73, 68.13, 299.72°)
OKLaboklab(47.69% 0.0241 -0.1701)
OKLCHoklch(47.69% 0.172 278.1)
XYZxyz(14.2105, 9.9375, 47.6142)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4ABA #B9BA4A
analogous
#4A81BA #4B4ABA #834ABA
triadic
#4B4ABA #BA4B4A #4ABA4B
tetradic
#4B4ABA #BA4A81 #B9BA4A #4ABA83
square
#4B4ABA #BA4A81 #B9BA4A #4ABA83
split-complementary
#4B4ABA #BA834A #81BA4A
monochromatic
#272664 #383790 #4B4ABA #7776CB #A3A3DC

Accessibility & contrast

On white

7.03
#4B4ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4B4ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4ABA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4ABA#FFFFFF#000000##FFFFFF
##4B4ABA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4b4aba;
/* rgb */ color: rgb(75, 74, 186);
/* oklch */ color: oklch(47.7% 0.172 278.1);
Tailwind
colors: {
  custom: {
    50: '#887dd0',
    500: '#4b4aba',
    950: '#000000',
  },
}
SCSS
$custom: #4b4aba;
$custom-light: #887dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4aba",
  "rgb": {
    "r": 75,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 240.536,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47693,
    "c": 0.17176,
    "h": 278.1
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#4B4ABA
secondary
#C8C997
accent
#D553D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4B4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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