#4F5CD9#4F5CD9

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

Color values

HEX#4F5CD9
RGBrgb(79, 92, 217)
HSLhsl(234, 64%, 58%)
HSVhsv(234, 64%, 85%)
CMYKcmyk(63.6%, 57.6%, 0%, 14.9%)
CIE-LABlab(44.69, 33.64, -65.77)
CIE-LCHlch(44.69, 73.88, 297.09°)
OKLaboklab(53.65% 0.0121 -0.1892)
OKLCHoklch(53.65% 0.19 273.6)
XYZxyz(19.5718, 14.3246, 67.3657)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CD9 #D9CC4F
analogous
#4FA1D9 #4F5CD9 #874FD9
triadic
#4F5CD9 #D94F5C #5CD94F
tetradic
#4F5CD9 #D94FA1 #D9CC4F #4FD987
square
#4F5CD9 #D94FA1 #D9CC4F #4FD987
split-complementary
#4F5CD9 #D9874F #A1D94F
monochromatic
#1F298F #2A38C1 #4F5CD9 #818BE4 #B4B9EF

Accessibility & contrast

On white

5.43
#4F5CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4F5CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CD9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CD9#FFFFFF#000000##FFFFFF
##4F5CD91.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5cd9;
/* rgb */ color: rgb(79, 92, 217);
/* oklch */ color: oklch(53.6% 0.190 273.6);
Tailwind
colors: {
  custom: {
    50: '#8e8ae6',
    500: '#4f5cd9',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cd9;
$custom-light: #8e8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cd9",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 234.348,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.18961,
    "h": 273.6
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F5CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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