#4E5FBF#4E5FBF

#4E5FBF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.2% C 0.151 H 272.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4E5FBF
RGBrgb(78, 95, 191)
HSLhsl(231, 47%, 53%)
HSVhsv(231, 59%, 75%)
CMYKcmyk(59.2%, 50.3%, 0%, 25.1%)
CIE-LABlab(43.60, 22.78, -52.58)
CIE-LCHlch(43.60, 57.30, 293.42°)
OKLaboklab(52.24% 0.0068 -0.1504)
OKLCHoklch(52.24% 0.151 272.6)
XYZxyz(16.6350, 13.5644, 51.0217)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FBF #BFAE4E
analogous
#4E98BF #4E5FBF #754EBF
triadic
#4E5FBF #BF4E5F #5FBF4E
tetradic
#4E5FBF #BF4E98 #BFAE4E #4EBF75
square
#4E5FBF #BF4E98 #BFAE4E #4EBF75
split-complementary
#4E5FBF #BF754E #98BF4E
monochromatic
#27316C #374699 #4E5FBF #7B88CF #A8B0E0

Accessibility & contrast

On white

5.66
#4E5FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E5FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FBF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FBF#FFFFFF#000000##FFFFFF
##4E5FBF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#1562BD
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5fbf;
/* rgb */ color: rgb(78, 95, 191);
/* oklch */ color: oklch(52.2% 0.151 272.6);
Tailwind
colors: {
  custom: {
    50: '#898cd3',
    500: '#4e5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fbf;
$custom-light: #898cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fbf",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 230.973,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.15056,
    "h": 272.6
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

primary
#4E5FBF
secondary
#CDC69C
accent
#C251D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4E5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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