#4F5ED5#4F5ED5

#4F5ED5 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.182 H 273.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4F5ED5
RGBrgb(79, 94, 213)
HSLhsl(233, 61%, 57%)
HSVhsv(233, 63%, 84%)
CMYKcmyk(62.9%, 55.9%, 0%, 16.5%)
CIE-LABlab(44.90, 31.05, -63.16)
CIE-LCHlch(44.90, 70.38, 296.18°)
OKLaboklab(53.71% 0.0102 -0.1815)
OKLCHoklch(53.71% 0.182 273.2)
XYZxyz(19.2334, 14.4701, 64.7173)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5ED5 #D5C64F
analogous
#4FA1D5 #4F5ED5 #834FD5
triadic
#4F5ED5 #D54F5E #5ED54F
tetradic
#4F5ED5 #D54FA1 #D5C64F #4FD583
square
#4F5ED5 #D54FA1 #D5C64F #4FD583
split-complementary
#4F5ED5 #D5834F #A1D54F
monochromatic
#212C89 #2C3CBA #4F5ED5 #808BE1 #B2B8ED

Accessibility & contrast

On white

5.39
#4F5ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4F5ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5ED5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5ED5#FFFFFF#000000##FFFFFF
##4F5ED51.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5ed5;
/* rgb */ color: rgb(79, 94, 213);
/* oklch */ color: oklch(53.7% 0.182 273.2);
Tailwind
colors: {
  custom: {
    50: '#8e8be3',
    500: '#4f5ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ed5;
$custom-light: #8e8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ed5",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 233.284,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.1818,
    "h": 273.2
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#4F5ED5
secondary
#DBD5A5
accent
#D343E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4F5ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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