#4E5FB2#4E5FB2

#4E5FB2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.132 H 272.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4E5FB2
RGBrgb(78, 95, 178)
HSLhsl(230, 39%, 50%)
HSVhsv(230, 56%, 70%)
CMYKcmyk(56.2%, 46.6%, 0%, 30.2%)
CIE-LABlab(42.79, 18.39, -46.30)
CIE-LCHlch(42.79, 49.82, 291.67°)
OKLaboklab(51.37% 0.0052 -0.1319)
OKLCHoklch(51.37% 0.132 272.3)
XYZxyz(15.2673, 13.0174, 43.8189)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FB2 #B2A14E
analogous
#4E91B2 #4E5FB2 #6F4EB2
triadic
#4E5FB2 #B24E5F #5FB24E
tetradic
#4E5FB2 #B24E91 #B2A14E #4EB26F
square
#4E5FB2 #B24E91 #B2A14E #4EB26F
split-complementary
#4E5FB2 #B26F4E #91B24E
monochromatic
#29315D #3B4888 #4E5FB2 #7986C5 #A3ACD7

Accessibility & contrast

On white

5.83
#4E5FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5FB2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FB2#FFFFFF#000000##FFFFFF
##4E5FB21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#157180
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5fb2;
/* rgb */ color: rgb(78, 95, 178);
/* oklch */ color: oklch(51.4% 0.132 272.3);
Tailwind
colors: {
  custom: {
    50: '#878cc9',
    500: '#4e5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fb2;
$custom-light: #878cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fb2",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 229.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.13204,
    "h": 272.3
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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