#4F5ED9#4F5ED9

#4F5ED9 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.187 H 273.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4F5ED9
RGBrgb(79, 94, 217)
HSLhsl(233, 64%, 58%)
HSVhsv(233, 64%, 85%)
CMYKcmyk(63.6%, 56.7%, 0%, 14.9%)
CIE-LABlab(45.19, 32.40, -64.98)
CIE-LCHlch(45.19, 72.61, 296.50°)
OKLaboklab(54.02% 0.0103 -0.1869)
OKLCHoklch(54.02% 0.187 273.2)
XYZxyz(19.7474, 14.6757, 67.4242)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5ED9 #D9CA4F
analogous
#4FA3D9 #4F5ED9 #854FD9
triadic
#4F5ED9 #D94F5E #5ED94F
tetradic
#4F5ED9 #D94FA3 #D9CA4F #4FD985
square
#4F5ED9 #D94FA3 #D9CA4F #4FD985
split-complementary
#4F5ED9 #D9854F #A3D94F
monochromatic
#1F2B8F #2A3AC1 #4F5ED9 #818CE4 #B4BAEF

Accessibility & contrast

On white

5.34
#4F5ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4F5ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5ED9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5ED9#FFFFFF#000000##FFFFFF
##4F5ED91.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5ed9;
/* rgb */ color: rgb(79, 94, 217);
/* oklch */ color: oklch(54.0% 0.187 273.2);
Tailwind
colors: {
  custom: {
    50: '#8e8be6',
    500: '#4f5ed9',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ed9;
$custom-light: #8e8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ed9",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 233.478,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.18714,
    "h": 273.2
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#4F5ED9
secondary
#DDD7A6
accent
#D540E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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