#4E5DBC#4E5DBC

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

Color values

HEX#4E5DBC
RGBrgb(78, 93, 188)
HSLhsl(232, 45%, 52%)
HSVhsv(232, 59%, 74%)
CMYKcmyk(58.5%, 50.5%, 0%, 26.3%)
CIE-LABlab(42.88, 23.03, -52.00)
CIE-LCHlch(42.88, 56.87, 293.89°)
OKLaboklab(51.64% 0.0086 -0.1487)
OKLCHoklch(51.64% 0.149 273.3)
XYZxyz(16.1304, 13.0780, 49.2415)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DBC #BCAD4E
analogous
#4E94BC #4E5DBC #764EBC
triadic
#4E5DBC #BC4E5D #5DBC4E
tetradic
#4E5DBC #BC4E94 #BCAD4E #4EBC76
square
#4E5DBC #BC4E94 #BCAD4E #4EBC76
split-complementary
#4E5DBC #BC764E #94BC4E
monochromatic
#273068 #384595 #4E5DBC #7A86CD #A7AEDE

Accessibility & contrast

On white

5.81
#4E5DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5DBC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DBC#FFFFFF#000000##FFFFFF
##4E5DBC1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#1561BA
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5dbc;
/* rgb */ color: rgb(78, 93, 188);
/* oklch */ color: oklch(51.6% 0.149 273.3);
Tailwind
colors: {
  custom: {
    50: '#898ad1',
    500: '#4e5dbc',
    950: '#000000',
  },
}
SCSS
$custom: #4e5dbc;
$custom-light: #898ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5dbc",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 188
  },
  "hsl": {
    "h": 231.818,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51636,
    "c": 0.14896,
    "h": 273.3
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#4E5DBC
secondary
#CBC49B
accent
#C353D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E5DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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