#4E5DBA#4E5DBA

#4E5DBA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.146 H 273.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4E5DBA
RGBrgb(78, 93, 186)
HSLhsl(232, 44%, 52%)
HSVhsv(232, 58%, 73%)
CMYKcmyk(58.1%, 50%, 0%, 27.1%)
CIE-LABlab(42.75, 22.35, -51.04)
CIE-LCHlch(42.75, 55.72, 293.65°)
OKLaboklab(51.5% 0.0084 -0.1459)
OKLCHoklch(51.5% 0.146 273.3)
XYZxyz(15.9163, 12.9924, 48.1139)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DBA #BAAB4E
analogous
#4E93BA #4E5DBA #754EBA
triadic
#4E5DBA #BA4E5D #5DBA4E
tetradic
#4E5DBA #BA4E93 #BAAB4E #4EBA75
square
#4E5DBA #BA4E93 #BAAB4E #4EBA75
split-complementary
#4E5DBA #BA754E #93BA4E
monochromatic
#283066 #394592 #4E5DBA #7A85CB #A6AEDC

Accessibility & contrast

On white

5.84
#4E5DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4E5DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DBA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DBA#FFFFFF#000000##FFFFFF
##4E5DBA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABD
Deuteranopia (green-blind)
#1A60B8
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5dba;
/* rgb */ color: rgb(78, 93, 186);
/* oklch */ color: oklch(51.5% 0.146 273.3);
Tailwind
colors: {
  custom: {
    50: '#898acf',
    500: '#4e5dba',
    950: '#000000',
  },
}
SCSS
$custom: #4e5dba;
$custom-light: #898acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5dba",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 231.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.14613,
    "h": 273.3
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#4E5DBA
secondary
#CAC39A
accent
#C254D4
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E5DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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