#4F5DDF#4F5DDF

#4F5DDF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.196 H 273.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4F5DDF
RGBrgb(79, 93, 223)
HSLhsl(234, 69%, 59%)
HSVhsv(234, 65%, 87%)
CMYKcmyk(64.6%, 58.3%, 0%, 12.5%)
CIE-LABlab(45.38, 35.05, -68.07)
CIE-LCHlch(45.38, 76.56, 297.24°)
OKLaboklab(54.3% 0.0112 -0.196)
OKLCHoklch(54.3% 0.196 273.3)
XYZxyz(20.4537, 14.8169, 71.5798)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DDF #DFD14F
analogous
#4FA5DF #4F5DDF #894FDF
triadic
#4F5DDF #DF4F5D #5DDF4F
tetradic
#4F5DDF #DF4FA5 #DFD14F #4FDF89
square
#4F5DDF #DF4FA5 #DFD14F #4FDF89
split-complementary
#4F5DDF #DF894F #A5DF4F
monochromatic
#1C2898 #2535CC #4F5DDF #838DE8 #B7BCF2

Accessibility & contrast

On white

5.30
#4F5DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4F5DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DDF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DDF#FFFFFF#000000##FFFFFF
##4F5DDF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5ddf;
/* rgb */ color: rgb(79, 93, 223);
/* oklch */ color: oklch(54.3% 0.196 273.3);
Tailwind
colors: {
  custom: {
    50: '#8f8aea',
    500: '#4f5ddf',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ddf;
$custom-light: #8f8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ddf",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 234.167,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.19629,
    "h": 273.3
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

primary
#4F5DDF
secondary
#E1DCA9
accent
#DB3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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