#4E5ABB#4E5ABB

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

Color values

HEX#4E5ABB
RGBrgb(78, 90, 187)
HSLhsl(233, 44%, 52%)
HSVhsv(233, 58%, 73%)
CMYKcmyk(58.3%, 51.9%, 0%, 26.7%)
CIE-LABlab(42.03, 24.59, -52.79)
CIE-LCHlch(42.03, 58.23, 294.98°)
OKLaboklab(50.97% 0.0117 -0.1511)
OKLCHoklch(50.97% 0.152 274.4)
XYZxyz(15.7648, 12.5187, 48.5897)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ABB #BBAF4E
analogous
#4E91BB #4E5ABB #784EBB
triadic
#4E5ABB #BB4E5A #5ABB4E
tetradic
#4E5ABB #BB4E91 #BBAF4E #4EBB78
square
#4E5ABB #BB4E91 #BBAF4E #4EBB78
split-complementary
#4E5ABB #BB784E #91BB4E
monochromatic
#282F67 #394393 #4E5ABB #7A83CC #A6ACDD

Accessibility & contrast

On white

5.99
#4E5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4E5ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ABB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ABB#FFFFFF#000000##FFFFFF
##4E5ABB1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#095FB9
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5abb;
/* rgb */ color: rgb(78, 90, 187);
/* oklch */ color: oklch(51.0% 0.152 274.4);
Tailwind
colors: {
  custom: {
    50: '#8988d0',
    500: '#4e5abb',
    950: '#000000',
  },
}
SCSS
$custom: #4e5abb;
$custom-light: #8988d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5abb",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 233.394,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.15151,
    "h": 274.4
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#4E5ABB
secondary
#CAC59B
accent
#C654D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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