#4E5FA9#4E5FA9

#4E5FA9 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.8% C 0.119 H 271.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4E5FA9
RGBrgb(78, 95, 169)
HSLhsl(229, 37%, 48%)
HSVhsv(229, 54%, 66%)
CMYKcmyk(53.8%, 43.8%, 0%, 33.7%)
CIE-LABlab(42.26, 15.39, -41.85)
CIE-LCHlch(42.26, 44.59, 290.20°)
OKLaboklab(50.79% 0.0038 -0.1189)
OKLCHoklch(50.79% 0.119 271.8)
XYZxyz(14.3932, 12.6677, 39.2151)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FA9 #A9984E
analogous
#4E8CA9 #4E5FA9 #6A4EA9
triadic
#4E5FA9 #A94E5F #5FA94E
tetradic
#4E5FA9 #A94E8C #A9984E #4EA96A
square
#4E5FA9 #A94E8C #A9984E #4EA96A
split-complementary
#4E5FA9 #A96A4E #8CA94E
monochromatic
#273055 #3B477F #4E5FA9 #7583BF #9FA8D3

Accessibility & contrast

On white

5.94
#4E5FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4E5FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FA9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FA9#FFFFFF#000000##FFFFFF
##4E5FA91.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AC
Deuteranopia (green-blind)
#3560A7
Tritanopia (blue-blind)
#226F7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e5fa9;
/* rgb */ color: rgb(78, 95, 169);
/* oklch */ color: oklch(50.8% 0.119 271.8);
Tailwind
colors: {
  custom: {
    50: '#868cc3',
    500: '#4e5fa9',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fa9;
$custom-light: #868cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fa9",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 228.791,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50788,
    "c": 0.11895,
    "h": 271.8
  },
  "luminance": 0.12669
}

Semantic roles & 50–950 ramp

primary
#4E5FA9
secondary
#BFB793
accent
#B85BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #4E5FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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