#4E55BA#4E55BA

#4E55BA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.157 H 276.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4E55BA
RGBrgb(78, 85, 186)
HSLhsl(236, 44%, 52%)
HSVhsv(236, 58%, 73%)
CMYKcmyk(58.1%, 54.3%, 0%, 27.1%)
CIE-LABlab(40.67, 27.42, -54.39)
CIE-LCHlch(40.67, 60.91, 296.76°)
OKLaboklab(49.93% 0.0168 -0.1558)
OKLCHoklch(49.93% 0.157 276.1)
XYZxyz(15.2505, 11.6608, 47.8920)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E55BA #BAB34E
analogous
#4E8BBA #4E55BA #7D4EBA
triadic
#4E55BA #BA4E55 #55BA4E
tetradic
#4E55BA #BA4E8B #BAB34E #4EBA7D
square
#4E55BA #BA4E8B #BAB34E #4EBA7D
split-complementary
#4E55BA #BA7D4E #8BBA4E
monochromatic
#282C66 #393F92 #4E55BA #7A7FCB #A6AADC

Accessibility & contrast

On white

6.30
#4E55BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E55BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E55BA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E55BA#FFFFFF#000000##FFFFFF
##4E55BA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#036C7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e55ba;
/* rgb */ color: rgb(78, 85, 186);
/* oklch */ color: oklch(49.9% 0.157 276.1);
Tailwind
colors: {
  custom: {
    50: '#8984cf',
    500: '#4e55ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e55ba;
$custom-light: #8984cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e55ba",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 236.111,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49933,
    "c": 0.15673,
    "h": 276.1
  },
  "luminance": 0.11662
}

Semantic roles & 50–950 ramp

primary
#4E55BA
secondary
#CAC79A
accent
#CB54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E55BA

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

Preview Lab → · Contrast checker → · Palette generator →

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