#4F5DD9#4F5DD9

#4F5DD9 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.188 H 273.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4F5DD9
RGBrgb(79, 93, 217)
HSLhsl(234, 64%, 58%)
HSVhsv(234, 64%, 85%)
CMYKcmyk(63.6%, 57.1%, 0%, 14.9%)
CIE-LABlab(44.94, 33.02, -65.38)
CIE-LCHlch(44.94, 73.24, 296.80°)
OKLaboklab(53.83% 0.0112 -0.188)
OKLCHoklch(53.83% 0.188 273.4)
XYZxyz(19.6590, 14.4990, 67.3948)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DD9 #D9CB4F
analogous
#4FA2D9 #4F5DD9 #864FD9
triadic
#4F5DD9 #D94F5D #5DD94F
tetradic
#4F5DD9 #D94FA2 #D9CB4F #4FD986
square
#4F5DD9 #D94FA2 #D9CB4F #4FD986
split-complementary
#4F5DD9 #D9864F #A2D94F
monochromatic
#1F2A8F #2A39C1 #4F5DD9 #818BE4 #B4BAEF

Accessibility & contrast

On white

5.38
#4F5DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4F5DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DD9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DD9#FFFFFF#000000##FFFFFF
##4F5DD91.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5dd9;
/* rgb */ color: rgb(79, 93, 217);
/* oklch */ color: oklch(53.8% 0.188 273.4);
Tailwind
colors: {
  custom: {
    50: '#8e8ae6',
    500: '#4f5dd9',
    950: '#000000',
  },
}
SCSS
$custom: #4f5dd9;
$custom-light: #8e8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5dd9",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 217
  },
  "hsl": {
    "h": 233.913,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53832,
    "c": 0.18837,
    "h": 273.4
  },
  "luminance": 0.14501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F5DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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