#4F5CD4#4F5CD4

#4F5CD4 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.3% C 0.183 H 273.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4F5CD4
RGBrgb(79, 92, 212)
HSLhsl(234, 61%, 57%)
HSVhsv(234, 63%, 83%)
CMYKcmyk(62.7%, 56.6%, 0%, 16.9%)
CIE-LABlab(44.33, 31.95, -63.51)
CIE-LCHlch(44.33, 71.09, 296.71°)
OKLaboklab(53.26% 0.012 -0.1826)
OKLCHoklch(53.26% 0.183 273.8)
XYZxyz(18.9313, 14.0684, 63.9924)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CD4 #D4C74F
analogous
#4F9FD4 #4F5CD4 #844FD4
triadic
#4F5CD4 #D44F5C #5CD44F
tetradic
#4F5CD4 #D44F9F #D4C74F #4FD484
square
#4F5CD4 #D44F9F #D4C74F #4FD484
split-complementary
#4F5CD4 #D4844F #9FD44F
monochromatic
#212B87 #2D3BB9 #4F5CD4 #808AE0 #B1B7EC

Accessibility & contrast

On white

5.51
#4F5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4F5CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CD4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CD4#FFFFFF#000000##FFFFFF
##4F5CD41.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f5cd4;
/* rgb */ color: rgb(79, 92, 212);
/* oklch */ color: oklch(53.3% 0.183 273.8);
Tailwind
colors: {
  custom: {
    50: '#8e8ae2',
    500: '#4f5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cd4;
$custom-light: #8e8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cd4",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 234.135,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53264,
    "c": 0.18295,
    "h": 273.8
  },
  "luminance": 0.1407
}

Semantic roles & 50–950 ramp

primary
#4F5CD4
secondary
#DAD5A4
accent
#D444E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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