#4F5AD9#4F5AD9

#4F5AD9 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.3% C 0.192 H 274.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4F5AD9
RGBrgb(79, 90, 217)
HSLhsl(235, 64%, 58%)
HSVhsv(235, 64%, 85%)
CMYKcmyk(63.6%, 58.5%, 0%, 14.9%)
CIE-LABlab(44.21, 34.88, -66.57)
CIE-LCHlch(44.21, 75.15, 297.65°)
OKLaboklab(53.29% 0.0138 -0.1916)
OKLCHoklch(53.29% 0.192 274.1)
XYZxyz(19.4009, 13.9827, 67.3087)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5AD9 #D9CE4F
analogous
#4F9FD9 #4F5AD9 #894FD9
triadic
#4F5AD9 #D94F5A #5AD94F
tetradic
#4F5AD9 #D94F9F #D9CE4F #4FD989
square
#4F5AD9 #D94F9F #D9CE4F #4FD989
split-complementary
#4F5AD9 #D9894F #9FD94F
monochromatic
#1F288F #2A36C1 #4F5AD9 #8189E4 #B4B8EF

Accessibility & contrast

On white

5.53
#4F5AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4F5AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5AD9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5AD9#FFFFFF#000000##FFFFFF
##4F5AD91.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f5ad9;
/* rgb */ color: rgb(79, 90, 217);
/* oklch */ color: oklch(53.3% 0.192 274.1);
Tailwind
colors: {
  custom: {
    50: '#8f88e6',
    500: '#4f5ad9',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ad9;
$custom-light: #8f88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ad9",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 217
  },
  "hsl": {
    "h": 235.217,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53288,
    "c": 0.19206,
    "h": 274.1
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#4F5AD9
secondary
#DDD9A6
accent
#DA40E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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