#4E5FB4#4E5FB4

#4E5FB4 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.135 H 272.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4E5FB4
RGBrgb(78, 95, 180)
HSLhsl(230, 40%, 51%)
HSVhsv(230, 57%, 71%)
CMYKcmyk(56.7%, 47.2%, 0%, 29.4%)
CIE-LABlab(42.91, 19.07, -47.28)
CIE-LCHlch(42.91, 50.98, 291.96°)
OKLaboklab(51.5% 0.0055 -0.1348)
OKLCHoklch(51.5% 0.135 272.3)
XYZxyz(15.4696, 13.0983, 44.8842)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FB4 #B4A34E
analogous
#4E92B4 #4E5FB4 #704EB4
triadic
#4E5FB4 #B44E5F #5FB44E
tetradic
#4E5FB4 #B44E92 #B4A34E #4EB470
square
#4E5FB4 #B44E92 #B4A34E #4EB470
split-complementary
#4E5FB4 #B4704E #92B44E
monochromatic
#28325F #3B488A #4E5FB4 #7986C6 #A4ADD8

Accessibility & contrast

On white

5.80
#4E5FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5FB4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FB4#FFFFFF#000000##FFFFFF
##4E5FB41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376AB7
Deuteranopia (green-blind)
#2961B2
Tritanopia (blue-blind)
#107281
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5fb4;
/* rgb */ color: rgb(78, 95, 180);
/* oklch */ color: oklch(51.5% 0.135 272.3);
Tailwind
colors: {
  custom: {
    50: '#888ccb',
    500: '#4e5fb4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fb4;
$custom-light: #888ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fb4",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 180
  },
  "hsl": {
    "h": 230,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.13492,
    "h": 272.3
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#4E5FB4
secondary
#C6BE98
accent
#BC57D0
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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