#4F5FD9#4F5FD9

#4F5FD9 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.186 H 272.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4F5FD9
RGBrgb(79, 95, 217)
HSLhsl(233, 64%, 58%)
HSVhsv(233, 64%, 85%)
CMYKcmyk(63.6%, 56.2%, 0%, 14.9%)
CIE-LABlab(45.43, 31.78, -64.57)
CIE-LCHlch(45.43, 71.97, 296.20°)
OKLaboklab(54.2% 0.0094 -0.1857)
OKLCHoklch(54.2% 0.186 272.9)
XYZxyz(19.8369, 14.8547, 67.4541)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FD9 #D9C94F
analogous
#4FA4D9 #4F5FD9 #844FD9
triadic
#4F5FD9 #D94F5F #5FD94F
tetradic
#4F5FD9 #D94FA4 #D9C94F #4FD984
square
#4F5FD9 #D94FA4 #D9C94F #4FD984
split-complementary
#4F5FD9 #D9844F #A4D94F
monochromatic
#1F2C8F #2A3BC1 #4F5FD9 #818DE4 #B4BBEF

Accessibility & contrast

On white

5.29
#4F5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4F5FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FD9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FD9#FFFFFF#000000##FFFFFF
##4F5FD91.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f5fd9;
/* rgb */ color: rgb(79, 95, 217);
/* oklch */ color: oklch(54.2% 0.186 272.9);
Tailwind
colors: {
  custom: {
    50: '#8e8ce6',
    500: '#4f5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fd9;
$custom-light: #8e8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fd9",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 233.043,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.542,
    "c": 0.1859,
    "h": 272.9
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#4F5FD9
secondary
#DDD7A6
accent
#D440E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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