#4F5FDE#4F5FDE

#4F5FDE is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.193 H 272.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4F5FDE
RGBrgb(79, 95, 222)
HSLhsl(233, 68%, 59%)
HSVhsv(233, 64%, 87%)
CMYKcmyk(64.4%, 57.2%, 0%, 12.9%)
CIE-LABlab(45.80, 33.47, -66.83)
CIE-LCHlch(45.80, 74.75, 296.61°)
OKLaboklab(54.58% 0.0095 -0.1923)
OKLCHoklch(54.58% 0.193 272.8)
XYZxyz(20.4971, 15.1188, 70.9311)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FDE #DECE4F
analogous
#4FA7DE #4F5FDE #874FDE
triadic
#4F5FDE #DE4F5F #5FDE4F
tetradic
#4F5FDE #DE4FA7 #DECE4F #4FDE87
square
#4F5FDE #DE4FA7 #DECE4F #4FDE87
split-complementary
#4F5FDE #DE874F #A7DE4F
monochromatic
#1C2A96 #2638CA #4F5FDE #838EE8 #B6BDF1

Accessibility & contrast

On white

5.22
#4F5FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4F5FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FDE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FDE#FFFFFF#000000##FFFFFF
##4F5FDE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#007E95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f5fde;
/* rgb */ color: rgb(79, 95, 222);
/* oklch */ color: oklch(54.6% 0.193 272.8);
Tailwind
colors: {
  custom: {
    50: '#8f8ce9',
    500: '#4f5fde',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fde;
$custom-light: #8f8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fde",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 233.287,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.19254,
    "h": 272.8
  },
  "luminance": 0.15121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F5FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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