#4E5FC9#4E5FC9

#4E5FC9 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.164 H 272.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4E5FC9
RGBrgb(78, 95, 201)
HSLhsl(232, 53%, 55%)
HSVhsv(232, 61%, 79%)
CMYKcmyk(61.2%, 52.7%, 0%, 21.2%)
CIE-LABlab(44.26, 26.17, -57.31)
CIE-LCHlch(44.26, 63.00, 294.55°)
OKLaboklab(52.95% 0.0076 -0.1643)
OKLCHoklch(52.95% 0.164 272.7)
XYZxyz(17.7732, 14.0197, 57.0165)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FC9 #C9B84E
analogous
#4E9DC9 #4E5FC9 #7A4EC9
triadic
#4E5FC9 #C94E5F #5FC94E
tetradic
#4E5FC9 #C94E9D #C9B84E #4EC97A
square
#4E5FC9 #C94E9D #C9B84E #4EC97A
split-complementary
#4E5FC9 #C97A4E #9DC94E
monochromatic
#253078 #3343A7 #4E5FC9 #7D89D7 #ACB4E6

Accessibility & contrast

On white

5.52
#4E5FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4E5FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FC9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FC9#FFFFFF#000000##FFFFFF
##4E5FC91.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECD
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e5fc9;
/* rgb */ color: rgb(78, 95, 201);
/* oklch */ color: oklch(53.0% 0.164 272.7);
Tailwind
colors: {
  custom: {
    50: '#8b8cda',
    500: '#4e5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fc9;
$custom-light: #8b8cda;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fc9",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 231.707,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.16449,
    "h": 272.7
  },
  "luminance": 0.14021
}

Semantic roles & 50–950 ramp

primary
#4E5FC9
secondary
#D3CC9F
accent
#C94BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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