#4E4BBA#4E4BBA

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

Color values

HEX#4E4BBA
RGBrgb(78, 75, 186)
HSLhsl(242, 45%, 51%)
HSVhsv(242, 60%, 73%)
CMYKcmyk(58.1%, 59.7%, 0%, 27.1%)
CIE-LABlab(38.19, 33.69, -58.41)
CIE-LCHlch(38.19, 67.43, 299.98°)
OKLaboklab(48.09% 0.0268 -0.1677)
OKLCHoklch(48.09% 0.17 279.1)
XYZxyz(14.5181, 10.1960, 47.6478)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4BBA #B7BA4B
analogous
#4B7FBA #4E4BBA #854BBA
triadic
#4E4BBA #BA4E4B #4BBA4E
tetradic
#4E4BBA #BA4B7F #B7BA4B #4BBA85
square
#4E4BBA #BA4B7F #B7BA4B #4BBA85
split-complementary
#4E4BBA #BA854B #7FBA4B
monochromatic
#282664 #3A3790 #4E4BBA #7A77CB #A5A3DC

Accessibility & contrast

On white

6.91
#4E4BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E4BBA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4BBA#FFFFFF#000000##FFFFFF
##4E4BBA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4bba;
/* rgb */ color: rgb(78, 75, 186);
/* oklch */ color: oklch(48.1% 0.170 279.1);
Tailwind
colors: {
  custom: {
    50: '#8a7dd0',
    500: '#4e4bba',
    950: '#000000',
  },
}
SCSS
$custom: #4e4bba;
$custom-light: #8a7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4bba",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 241.622,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.16986,
    "h": 279.1
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#4E4BBA
secondary
#C8C998
accent
#D454D1
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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