#4E5FCF#4E5FCF

#4E5FCF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.173 H 272.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4E5FCF
RGBrgb(78, 95, 207)
HSLhsl(232, 57%, 56%)
HSVhsv(232, 62%, 81%)
CMYKcmyk(62.3%, 54.1%, 0%, 18.8%)
CIE-LABlab(44.67, 28.22, -60.09)
CIE-LCHlch(44.67, 66.39, 295.15°)
OKLaboklab(53.39% 0.008 -0.1725)
OKLCHoklch(53.39% 0.173 272.7)
XYZxyz(18.4928, 14.3076, 60.8065)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FCF #CFBE4E
analogous
#4E9FCF #4E5FCF #7D4ECF
triadic
#4E5FCF #CF4E5F #5FCF4E
tetradic
#4E5FCF #CF4E9F #CFBE4E #4ECF7D
square
#4E5FCF #CF4E9F #CFBE4E #4ECF7D
split-complementary
#4E5FCF #CF7D4E #9FCF4E
monochromatic
#232F80 #3041B0 #4E5FCF #7E8BDC #AEB6E9

Accessibility & contrast

On white

5.44
#4E5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4E5FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FCF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FCF#FFFFFF#000000##FFFFFF
##4E5FCF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E70D3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e5fcf;
/* rgb */ color: rgb(78, 95, 207);
/* oklch */ color: oklch(53.4% 0.173 272.7);
Tailwind
colors: {
  custom: {
    50: '#8c8cde',
    500: '#4e5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fcf;
$custom-light: #8c8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fcf",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 232.093,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.1727,
    "h": 272.7
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#4E5FCF
secondary
#D7D0A2
accent
#CC47E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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