#4E5FD9#4E5FD9

#4E5FD9 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.186 H 272.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4E5FD9
RGBrgb(78, 95, 217)
HSLhsl(233, 65%, 58%)
HSVhsv(233, 64%, 85%)
CMYKcmyk(64.1%, 56.2%, 0%, 14.9%)
CIE-LABlab(45.38, 31.62, -64.67)
CIE-LCHlch(45.38, 71.99, 296.06°)
OKLaboklab(54.14% 0.0084 -0.186)
OKLCHoklch(54.14% 0.186 272.6)
XYZxyz(19.7543, 14.8121, 67.4502)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FD9 #D9C84E
analogous
#4EA4D9 #4E5FD9 #824ED9
triadic
#4E5FD9 #D94E5F #5FD94E
tetradic
#4E5FD9 #D94EA4 #D9C84E #4ED982
square
#4E5FD9 #D94EA4 #D9C84E #4ED982
split-complementary
#4E5FD9 #D9824E #A4D94E
monochromatic
#1F2C8E #293CC0 #4E5FD9 #808DE4 #B3BAEF

Accessibility & contrast

On white

5.30
#4E5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4E5FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FD9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FD9#FFFFFF#000000##FFFFFF
##4E5FD91.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e5fd9;
/* rgb */ color: rgb(78, 95, 217);
/* oklch */ color: oklch(54.1% 0.186 272.6);
Tailwind
colors: {
  custom: {
    50: '#8e8ce6',
    500: '#4e5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fd9;
$custom-light: #8e8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fd9",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 232.662,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54141,
    "c": 0.18617,
    "h": 272.6
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#4E5FD9
secondary
#DDD6A6
accent
#D340E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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