#4E5FB5#4E5FB5

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

Color values

HEX#4E5FB5
RGBrgb(78, 95, 181)
HSLhsl(230, 41%, 51%)
HSVhsv(230, 57%, 71%)
CMYKcmyk(56.9%, 47.5%, 0%, 29%)
CIE-LABlab(42.97, 19.40, -47.76)
CIE-LCHlch(42.97, 51.55, 292.11°)
OKLaboklab(51.56% 0.0056 -0.1362)
OKLCHoklch(51.56% 0.136 272.4)
XYZxyz(15.5719, 13.1392, 45.4226)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FB5 #B5A44E
analogous
#4E92B5 #4E5FB5 #704EB5
triadic
#4E5FB5 #B54E5F #5FB54E
tetradic
#4E5FB5 #B54E92 #B5A44E #4EB570
square
#4E5FB5 #B54E92 #B5A44E #4EB570
split-complementary
#4E5FB5 #B5704E #92B54E
monochromatic
#283260 #3A488B #4E5FB5 #7986C7 #A4ADD9

Accessibility & contrast

On white

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

On black

3.63
#4E5FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E5FB5#FFFFFF#000000##FFFFFF
##4E5FB51.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366AB8
Deuteranopia (green-blind)
#2861B3
Tritanopia (blue-blind)
#0E7281
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5fb5;
/* rgb */ color: rgb(78, 95, 181);
/* oklch */ color: oklch(51.6% 0.136 272.4);
Tailwind
colors: {
  custom: {
    50: '#888ccc',
    500: '#4e5fb5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fb5;
$custom-light: #888ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fb5",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 230.097,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51564,
    "c": 0.13636,
    "h": 272.4
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#4E5FB5
secondary
#C6BF99
accent
#BD57D1
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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