#4E5FB1#4E5FB1

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

Color values

HEX#4E5FB1
RGBrgb(78, 95, 177)
HSLhsl(230, 39%, 50%)
HSVhsv(230, 56%, 69%)
CMYKcmyk(55.9%, 46.3%, 0%, 30.6%)
CIE-LABlab(42.73, 18.06, -45.81)
CIE-LCHlch(42.73, 49.24, 291.52°)
OKLaboklab(51.3% 0.0051 -0.1305)
OKLCHoklch(51.3% 0.131 272.2)
XYZxyz(15.1673, 12.9774, 43.2921)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FB1 #B1A04E
analogous
#4E91B1 #4E5FB1 #6E4EB1
triadic
#4E5FB1 #B14E5F #5FB14E
tetradic
#4E5FB1 #B14E91 #B1A04E #4EB16E
square
#4E5FB1 #B14E91 #B1A04E #4EB16E
split-complementary
#4E5FB1 #B16E4E #91B14E
monochromatic
#29315C #3B4887 #4E5FB1 #7885C4 #A3ACD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5FB1#FFFFFF#000000##FFFFFF
##4E5FB11.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)
#3A69B4
Deuteranopia (green-blind)
#2D61AF
Tritanopia (blue-blind)
#16717F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5fb1;
/* rgb */ color: rgb(78, 95, 177);
/* oklch */ color: oklch(51.3% 0.131 272.2);
Tailwind
colors: {
  custom: {
    50: '#878cc9',
    500: '#4e5fb1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fb1;
$custom-light: #878cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fb1",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 229.697,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.513,
    "c": 0.1306,
    "h": 272.2
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#4E5FB1
secondary
#C4BC97
accent
#BB59CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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