#4B4CBA#4B4CBA

#4B4CBA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.169 H 277.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4B4CBA
RGBrgb(75, 76, 186)
HSLhsl(239, 45%, 51%)
HSVhsv(239, 60%, 73%)
CMYKcmyk(59.7%, 59.1%, 0%, 27.1%)
CIE-LABlab(38.21, 32.53, -58.38)
CIE-LCHlch(38.21, 66.83, 299.13°)
OKLaboklab(48.05% 0.0222 -0.1677)
OKLCHoklch(48.05% 0.169 277.5)
XYZxyz(14.3462, 10.2088, 47.6594)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4CBA #BAB94B
analogous
#4B83BA #4B4CBA #814BBA
triadic
#4B4CBA #BA4B4C #4CBA4B
tetradic
#4B4CBA #BA4B83 #BAB94B #4BBA81
square
#4B4CBA #BA4B83 #BAB94B #4BBA81
split-complementary
#4B4CBA #BA814B #83BA4B
monochromatic
#262764 #373890 #4B4CBA #7778CB #A3A4DC

Accessibility & contrast

On white

6.90
#4B4CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4B4CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B4CBA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4CBA#FFFFFF#000000##FFFFFF
##4B4CBA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4b4cba;
/* rgb */ color: rgb(75, 76, 186);
/* oklch */ color: oklch(48.1% 0.169 277.5);
Tailwind
colors: {
  custom: {
    50: '#887ed0',
    500: '#4b4cba',
    950: '#000000',
  },
}
SCSS
$custom: #4b4cba;
$custom-light: #887ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4cba",
  "rgb": {
    "r": 75,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 239.459,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48051,
    "c": 0.16919,
    "h": 277.5
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#4B4CBA
secondary
#C9C898
accent
#D354D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4B4CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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