#4F5EAE#4F5EAE

#4F5EAE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.127 H 273.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4F5EAE
RGBrgb(79, 94, 174)
HSLhsl(231, 38%, 50%)
HSVhsv(231, 55%, 68%)
CMYKcmyk(54.6%, 46%, 0%, 31.8%)
CIE-LABlab(42.34, 17.91, -44.66)
CIE-LCHlch(42.34, 48.12, 291.85°)
OKLaboklab(50.97% 0.0069 -0.1271)
OKLCHoklch(50.97% 0.127 273.1)
XYZxyz(14.8647, 12.7226, 41.7086)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EAE #AE9F4F
analogous
#4F8EAE #4F5EAE #704FAE
triadic
#4F5EAE #AE4F5E #5EAE4F
tetradic
#4F5EAE #AE4F8E #AE9F4F #4FAE70
square
#4F5EAE #AE4F8E #AE9F4F #4FAE70
split-complementary
#4F5EAE #AE704F #8EAE4F
monochromatic
#29315A #3C4784 #4F5EAE #7884C2 #A2AAD5

Accessibility & contrast

On white

5.92
#4F5EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4F5EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5EAE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5EAE#FFFFFF#000000##FFFFFF
##4F5EAE1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B1
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#1F707D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f5eae;
/* rgb */ color: rgb(79, 94, 174);
/* oklch */ color: oklch(51.0% 0.127 273.1);
Tailwind
colors: {
  custom: {
    50: '#878bc7',
    500: '#4f5eae',
    950: '#000000',
  },
}
SCSS
$custom: #4f5eae;
$custom-light: #878bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5eae",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 230.526,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.1273,
    "h": 273.1
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#4F5EAE
secondary
#C2BB97
accent
#BB5ACE
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4F5EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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