#4E54BF#4E54BF

#4E54BF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.165 H 276.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4E54BF
RGBrgb(78, 84, 191)
HSLhsl(237, 47%, 53%)
HSVhsv(237, 59%, 75%)
CMYKcmyk(59.2%, 56%, 0%, 25.1%)
CIE-LABlab(40.77, 29.72, -57.15)
CIE-LCHlch(40.77, 64.42, 297.48°)
OKLaboklab(50.12% 0.018 -0.164)
OKLCHoklch(50.12% 0.165 276.3)
XYZxyz(15.7131, 11.7208, 50.7144)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54BF #BFB94E
analogous
#4E8DBF #4E54BF #804EBF
triadic
#4E54BF #BF4E54 #54BF4E
tetradic
#4E54BF #BF4E8D #BFB94E #4EBF80
square
#4E54BF #BF4E8D #BFB94E #4EBF80
split-complementary
#4E54BF #BF804E #8DBF4E
monochromatic
#272B6C #373C99 #4E54BF #7B7FCF #A8ABE0

Accessibility & contrast

On white

6.28
#4E54BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4E54BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54BF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54BF#FFFFFF#000000##FFFFFF
##4E54BF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e54bf;
/* rgb */ color: rgb(78, 84, 191);
/* oklch */ color: oklch(50.1% 0.165 276.3);
Tailwind
colors: {
  custom: {
    50: '#8a84d3',
    500: '#4e54bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e54bf;
$custom-light: #8a84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54bf",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 236.814,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.16495,
    "h": 276.3
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#4E54BF
secondary
#CDCA9C
accent
#CF51D7
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4E54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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