#4E5ABC#4E5ABC

#4E5ABC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.153 H 274.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4E5ABC
RGBrgb(78, 90, 188)
HSLhsl(233, 45%, 52%)
HSVhsv(233, 59%, 74%)
CMYKcmyk(58.5%, 52.1%, 0%, 26.3%)
CIE-LABlab(42.10, 24.93, -53.26)
CIE-LCHlch(42.10, 58.81, 295.08°)
OKLaboklab(51.04% 0.0117 -0.1525)
OKLCHoklch(51.04% 0.153 274.4)
XYZxyz(15.8722, 12.5617, 49.1554)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ABC #BCB04E
analogous
#4E91BC #4E5ABC #794EBC
triadic
#4E5ABC #BC4E5A #5ABC4E
tetradic
#4E5ABC #BC4E91 #BCB04E #4EBC79
square
#4E5ABC #BC4E91 #BCB04E #4EBC79
split-complementary
#4E5ABC #BC794E #91BC4E
monochromatic
#272E68 #384295 #4E5ABC #7A83CD #A7ADDE

Accessibility & contrast

On white

5.98
#4E5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4E5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ABC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ABC#FFFFFF#000000##FFFFFF
##4E5ABC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#045FBA
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5abc;
/* rgb */ color: rgb(78, 90, 188);
/* oklch */ color: oklch(51.0% 0.153 274.4);
Tailwind
colors: {
  custom: {
    50: '#8988d1',
    500: '#4e5abc',
    950: '#000000',
  },
}
SCSS
$custom: #4e5abc;
$custom-light: #8988d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5abc",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 233.455,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51044,
    "c": 0.15291,
    "h": 274.4
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#4E5ABC
secondary
#CBC69B
accent
#C753D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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