#4E5FB0#4E5FB0

#4E5FB0 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.129 H 272.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4E5FB0
RGBrgb(78, 95, 176)
HSLhsl(230, 39%, 50%)
HSVhsv(230, 56%, 69%)
CMYKcmyk(55.7%, 46%, 0%, 31%)
CIE-LABlab(42.67, 17.73, -45.32)
CIE-LCHlch(42.67, 48.66, 291.36°)
OKLaboklab(51.24% 0.0049 -0.1291)
OKLCHoklch(51.24% 0.129 272.2)
XYZxyz(15.0680, 12.9376, 42.7691)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FB0 #B09F4E
analogous
#4E90B0 #4E5FB0 #6E4EB0
triadic
#4E5FB0 #B04E5F #5FB04E
tetradic
#4E5FB0 #B04E90 #B09F4E #4EB06E
square
#4E5FB0 #B04E90 #B09F4E #4EB06E
split-complementary
#4E5FB0 #B06E4E #90B04E
monochromatic
#28315B #3B4886 #4E5FB0 #7885C3 #A2ABD6

Accessibility & contrast

On white

5.85
#4E5FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4E5FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FB0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FB0#FFFFFF#000000##FFFFFF
##4E5FB01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B3
Deuteranopia (green-blind)
#2E61AE
Tritanopia (blue-blind)
#18717F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e5fb0;
/* rgb */ color: rgb(78, 95, 176);
/* oklch */ color: oklch(51.2% 0.129 272.2);
Tailwind
colors: {
  custom: {
    50: '#878cc8',
    500: '#4e5fb0',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fb0;
$custom-light: #878cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fb0",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 176
  },
  "hsl": {
    "h": 229.592,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.12915,
    "h": 272.2
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#4E5FB0
secondary
#C3BB97
accent
#BA59CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4E5FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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