#4E5DBD#4E5DBD

#4E5DBD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.150 H 273.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4E5DBD
RGBrgb(78, 93, 189)
HSLhsl(232, 46%, 52%)
HSVhsv(232, 59%, 74%)
CMYKcmyk(58.7%, 50.8%, 0%, 25.9%)
CIE-LABlab(42.95, 23.37, -52.48)
CIE-LCHlch(42.95, 57.44, 294.00°)
OKLaboklab(51.71% 0.0087 -0.1501)
OKLCHoklch(51.71% 0.15 273.3)
XYZxyz(16.2385, 13.1213, 49.8112)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DBD #BDAE4E
analogous
#4E94BD #4E5DBD #774EBD
triadic
#4E5DBD #BD4E5D #5DBD4E
tetradic
#4E5DBD #BD4E94 #BDAE4E #4EBD77
square
#4E5DBD #BD4E94 #BDAE4E #4EBD77
split-complementary
#4E5DBD #BD774E #94BD4E
monochromatic
#273069 #384596 #4E5DBD #7B86CE #A7AFDE

Accessibility & contrast

On white

5.79
#4E5DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4E5DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DBD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DBD#FFFFFF#000000##FFFFFF
##4E5DBD1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#1261BB
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5dbd;
/* rgb */ color: rgb(78, 93, 189);
/* oklch */ color: oklch(51.7% 0.150 273.3);
Tailwind
colors: {
  custom: {
    50: '#898ad1',
    500: '#4e5dbd',
    950: '#000000',
  },
}
SCSS
$custom: #4e5dbd;
$custom-light: #898ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5dbd",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 231.892,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.15037,
    "h": 273.3
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#4E5DBD
secondary
#CCC59B
accent
#C452D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E5DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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