#4F5BD6#4F5BD6

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

Color values

HEX#4F5BD6
RGBrgb(79, 91, 214)
HSLhsl(235, 62%, 57%)
HSVhsv(235, 63%, 84%)
CMYKcmyk(63.1%, 57.5%, 0%, 16.1%)
CIE-LABlab(44.23, 33.25, -64.82)
CIE-LCHlch(44.23, 72.85, 297.16°)
OKLaboklab(53.23% 0.0129 -0.1864)
OKLCHoklch(53.23% 0.187 274)
XYZxyz(19.0991, 13.9979, 65.3007)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BD6 #D6CA4F
analogous
#4F9ED6 #4F5BD6 #874FD6
triadic
#4F5BD6 #D64F5B #5BD64F
tetradic
#4F5BD6 #D64F9E #D6CA4F #4FD687
square
#4F5BD6 #D64F9E #D6CA4F #4FD687
split-complementary
#4F5BD6 #D6874F #9ED64F
monochromatic
#202A8A #2C39BC #4F5BD6 #8189E2 #B2B8ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5BD6#FFFFFF#000000##FFFFFF
##4F5BD61.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)
#006FDA
Deuteranopia (green-blind)
#0063D4
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f5bd6;
/* rgb */ color: rgb(79, 91, 214);
/* oklch */ color: oklch(53.2% 0.187 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e89e3',
    500: '#4f5bd6',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bd6;
$custom-light: #8e89e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bd6",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 234.667,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53234,
    "c": 0.18687,
    "h": 274
  },
  "luminance": 0.13999
}

Semantic roles & 50–950 ramp

primary
#4F5BD6
secondary
#DCD7A5
accent
#D743E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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