#4F5DDD#4F5DDD

#4F5DDD is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.194 H 273.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F5DDD
RGBrgb(79, 93, 221)
HSLhsl(234, 68%, 59%)
HSVhsv(234, 64%, 87%)
CMYKcmyk(64.3%, 57.9%, 0%, 13.3%)
CIE-LABlab(45.23, 34.37, -67.18)
CIE-LCHlch(45.23, 75.46, 297.10°)
OKLaboklab(54.14% 0.0112 -0.1933)
OKLCHoklch(54.14% 0.194 273.3)
XYZxyz(20.1856, 14.7097, 70.1681)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DDD #DDCF4F
analogous
#4FA4DD #4F5DDD #884FDD
triadic
#4F5DDD #DD4F5D #5DDD4F
tetradic
#4F5DDD #DD4FA4 #DDCF4F #4FDD88
square
#4F5DDD #DD4FA4 #DDCF4F #4FDD88
split-complementary
#4F5DDD #DD884F #A4DD4F
monochromatic
#1D2995 #2737C8 #4F5DDD #828CE7 #B6BBF1

Accessibility & contrast

On white

5.33
#4F5DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F5DDD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DDD#FFFFFF#000000##FFFFFF
##4F5DDD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5ddd;
/* rgb */ color: rgb(79, 93, 221);
/* oklch */ color: oklch(54.1% 0.194 273.3);
Tailwind
colors: {
  custom: {
    50: '#8f8ae8',
    500: '#4f5ddd',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ddd;
$custom-light: #8f8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ddd",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 234.085,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54142,
    "c": 0.19367,
    "h": 273.3
  },
  "luminance": 0.14711
}

Semantic roles & 50–950 ramp

primary
#4F5DDD
secondary
#E0DAA8
accent
#D93DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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