#4F5FDF#4F5FDF

#4F5FDF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.194 H 272.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4F5FDF
RGBrgb(79, 95, 223)
HSLhsl(233, 69%, 59%)
HSVhsv(233, 65%, 87%)
CMYKcmyk(64.6%, 57.4%, 0%, 12.5%)
CIE-LABlab(45.87, 33.81, -67.28)
CIE-LCHlch(45.87, 75.30, 296.68°)
OKLaboklab(54.66% 0.0095 -0.1936)
OKLCHoklch(54.66% 0.194 272.8)
XYZxyz(20.6315, 15.1726, 71.6391)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FDF #DFCF4F
analogous
#4FA7DF #4F5FDF #874FDF
triadic
#4F5FDF #DF4F5F #5FDF4F
tetradic
#4F5FDF #DF4FA7 #DFCF4F #4FDF87
square
#4F5FDF #DF4FA7 #DFCF4F #4FDF87
split-complementary
#4F5FDF #DF874F #A7DF4F
monochromatic
#1C2998 #2538CC #4F5FDF #838EE8 #B7BDF2

Accessibility & contrast

On white

5.20
#4F5FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4F5FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FDF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FDF#FFFFFF#000000##FFFFFF
##4F5FDF1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f5fdf;
/* rgb */ color: rgb(79, 95, 223);
/* oklch */ color: oklch(54.7% 0.194 272.8);
Tailwind
colors: {
  custom: {
    50: '#8f8cea',
    500: '#4f5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fdf;
$custom-light: #8f8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fdf",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 233.333,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.19385,
    "h": 272.8
  },
  "luminance": 0.15174
}

Semantic roles & 50–950 ramp

primary
#4F5FDF
secondary
#E1DBA9
accent
#D83CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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