#4F5DDC#4F5DDC

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

Color values

HEX#4F5DDC
RGBrgb(79, 93, 220)
HSLhsl(234, 67%, 59%)
HSVhsv(234, 64%, 86%)
CMYKcmyk(64.1%, 57.7%, 0%, 13.7%)
CIE-LABlab(45.16, 34.04, -66.73)
CIE-LCHlch(45.16, 74.91, 297.02°)
OKLaboklab(54.06% 0.0112 -0.192)
OKLCHoklch(54.06% 0.192 273.3)
XYZxyz(20.0528, 14.6565, 69.4685)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DDC #DCCE4F
analogous
#4FA3DC #4F5DDC #874FDC
triadic
#4F5DDC #DC4F5D #5DDC4F
tetradic
#4F5DDC #DC4FA3 #DCCE4F #4FDC87
square
#4F5DDC #DC4FA3 #DCCE4F #4FDC87
split-complementary
#4F5DDC #DC874F #A3DC4F
monochromatic
#1D2993 #2737C6 #4F5DDC #828CE6 #B5BBF0

Accessibility & contrast

On white

5.34
#4F5DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4F5DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DDC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DDC#FFFFFF#000000##FFFFFF
##4F5DDC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5ddc;
/* rgb */ color: rgb(79, 93, 220);
/* oklch */ color: oklch(54.1% 0.192 273.3);
Tailwind
colors: {
  custom: {
    50: '#8f8ae8',
    500: '#4f5ddc',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ddc;
$custom-light: #8f8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ddc",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 234.043,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54064,
    "c": 0.19235,
    "h": 273.3
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#4F5DDC
secondary
#DFDAA8
accent
#D93EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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