#4B4BAB#4B4BAB

#4B4BAB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.150 H 278.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4B4BAB
RGBrgb(75, 75, 171)
HSLhsl(240, 39%, 48%)
HSVhsv(240, 56%, 67%)
CMYKcmyk(56.1%, 56.1%, 0%, 32.9%)
CIE-LABlab(36.87, 28.18, -51.70)
CIE-LCHlch(36.87, 58.88, 298.59°)
OKLaboklab(46.71% 0.0232 -0.1481)
OKLCHoklch(46.71% 0.15 278.9)
XYZxyz(12.7661, 9.4674, 39.6749)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4BAB #ABAB4B
analogous
#4B7BAB #4B4BAB #7B4BAB
triadic
#4B4BAB #AB4B4B #4BAB4B
tetradic
#4B4BAB #AB4B7B #ABAB4B #4BAB7B
square
#4B4BAB #AB4B7B #ABAB4B #4BAB7B
split-complementary
#4B4BAB #AB7B4B #7BAB4B
monochromatic
#262656 #383880 #4B4BAB #7272C1 #9D9DD4

Accessibility & contrast

On white

7.26
#4B4BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4B4BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4BAB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4BAB#FFFFFF#000000##FFFFFF
##4B4BAB1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#1A6173
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4b4bab;
/* rgb */ color: rgb(75, 75, 171);
/* oklch */ color: oklch(46.7% 0.150 278.9);
Tailwind
colors: {
  custom: {
    50: '#867dc5',
    500: '#4b4bab',
    950: '#000000',
  },
}
SCSS
$custom: #4b4bab;
$custom-light: #867dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4bab",
  "rgb": {
    "r": 75,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 240,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46705,
    "c": 0.14988,
    "h": 278.9
  },
  "luminance": 0.09468
}

Semantic roles & 50–950 ramp

primary
#4B4BAB
secondary
#C0C091
accent
#CF59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4B4BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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