#4F5BD4#4F5BD4

#4F5BD4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.184 H 274.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4F5BD4
RGBrgb(79, 91, 212)
HSLhsl(235, 61%, 57%)
HSVhsv(235, 63%, 83%)
CMYKcmyk(62.7%, 57.1%, 0%, 16.9%)
CIE-LABlab(44.08, 32.58, -63.91)
CIE-LCHlch(44.08, 71.73, 297.01°)
OKLaboklab(53.08% 0.0129 -0.1837)
OKLCHoklch(53.08% 0.184 274)
XYZxyz(18.8453, 13.8963, 63.9637)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BD4 #D4C84F
analogous
#4F9ED4 #4F5BD4 #854FD4
triadic
#4F5BD4 #D44F5B #5BD44F
tetradic
#4F5BD4 #D44F9E #D4C84F #4FD485
square
#4F5BD4 #D44F9E #D4C84F #4FD485
split-complementary
#4F5BD4 #D4854F #9ED44F
monochromatic
#212A87 #2D3AB9 #4F5BD4 #8089E0 #B1B7EC

Accessibility & contrast

On white

5.56
#4F5BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4F5BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BD4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BD4#FFFFFF#000000##FFFFFF
##4F5BD41.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5bd4;
/* rgb */ color: rgb(79, 91, 212);
/* oklch */ color: oklch(53.1% 0.184 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e89e2',
    500: '#4f5bd4',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bd4;
$custom-light: #8e89e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bd4",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 234.586,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5308,
    "c": 0.1842,
    "h": 274
  },
  "luminance": 0.13898
}

Semantic roles & 50–950 ramp

primary
#4F5BD4
secondary
#DAD6A4
accent
#D544E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4F5BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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