#4F5EAD#4F5EAD

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

Color values

HEX#4F5EAD
RGBrgb(79, 94, 173)
HSLhsl(230, 37%, 49%)
HSVhsv(230, 54%, 68%)
CMYKcmyk(54.3%, 45.7%, 0%, 32.2%)
CIE-LABlab(42.28, 17.58, -44.17)
CIE-LCHlch(42.28, 47.54, 291.70°)
OKLaboklab(50.9% 0.0067 -0.1257)
OKLCHoklch(50.9% 0.126 273.1)
XYZxyz(14.7675, 12.6838, 41.1971)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EAD #AD9E4F
analogous
#4F8DAD #4F5EAD #6F4FAD
triadic
#4F5EAD #AD4F5E #5EAD4F
tetradic
#4F5EAD #AD4F8D #AD9E4F #4FAD6F
square
#4F5EAD #AD4F8D #AD9E4F #4FAD6F
split-complementary
#4F5EAD #AD6F4F #8DAD4F
monochromatic
#293059 #3C4783 #4F5EAD #7884C1 #A2AAD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5EAD#FFFFFF#000000##FFFFFF
##4F5EAD1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B0
Deuteranopia (green-blind)
#3060AB
Tritanopia (blue-blind)
#216F7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f5ead;
/* rgb */ color: rgb(79, 94, 173);
/* oklch */ color: oklch(50.9% 0.126 273.1);
Tailwind
colors: {
  custom: {
    50: '#878bc6',
    500: '#4f5ead',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ead;
$custom-light: #878bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ead",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 173
  },
  "hsl": {
    "h": 230.426,
    "s": 37.302,
    "l": 49.412
  },
  "oklch": {
    "l": 0.509,
    "c": 0.12584,
    "h": 273.1
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#4F5EAD
secondary
#C2BB96
accent
#BB5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4F5EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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