#4F5CD8#4F5CD8

#4F5CD8 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.188 H 273.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4F5CD8
RGBrgb(79, 92, 216)
HSLhsl(234, 64%, 58%)
HSVhsv(234, 63%, 85%)
CMYKcmyk(63.4%, 57.4%, 0%, 15.3%)
CIE-LABlab(44.62, 33.30, -65.32)
CIE-LCHlch(44.62, 73.32, 297.01°)
OKLaboklab(53.57% 0.0121 -0.1879)
OKLCHoklch(53.57% 0.188 273.7)
XYZxyz(19.4422, 14.2728, 66.6828)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CD8 #D8CB4F
analogous
#4FA0D8 #4F5CD8 #874FD8
triadic
#4F5CD8 #D84F5C #5CD84F
tetradic
#4F5CD8 #D84FA0 #D8CB4F #4FD887
square
#4F5CD8 #D84FA0 #D8CB4F #4FD887
split-complementary
#4F5CD8 #D8874F #A0D84F
monochromatic
#1F2A8D #2A39BF #4F5CD8 #818AE3 #B3B9EE

Accessibility & contrast

On white

5.45
#4F5CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4F5CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CD8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CD8#FFFFFF#000000##FFFFFF
##4F5CD81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5cd8;
/* rgb */ color: rgb(79, 92, 216);
/* oklch */ color: oklch(53.6% 0.188 273.7);
Tailwind
colors: {
  custom: {
    50: '#8e8ae5',
    500: '#4f5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cd8;
$custom-light: #8e8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cd8",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 234.307,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53572,
    "c": 0.18829,
    "h": 273.7
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#4F5CD8
secondary
#DDD8A6
accent
#D741E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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