#4F5BDD#4F5BDD

#4F5BDD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.196 H 273.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4F5BDD
RGBrgb(79, 91, 221)
HSLhsl(235, 68%, 59%)
HSVhsv(235, 64%, 87%)
CMYKcmyk(64.3%, 58.8%, 0%, 13.3%)
CIE-LABlab(44.75, 35.61, -67.96)
CIE-LCHlch(44.75, 76.73, 297.65°)
OKLaboklab(53.78% 0.0129 -0.1957)
OKLCHoklch(53.78% 0.196 273.8)
XYZxyz(20.0124, 14.3632, 70.1103)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BDD #DDD14F
analogous
#4FA2DD #4F5BDD #8A4FDD
triadic
#4F5BDD #DD4F5B #5BDD4F
tetradic
#4F5BDD #DD4FA2 #DDD14F #4FDD8A
square
#4F5BDD #DD4FA2 #DDD14F #4FDD8A
split-complementary
#4F5BDD #DD8A4F #A2DD4F
monochromatic
#1D2795 #2734C8 #4F5BDD #828BE7 #B6BBF1

Accessibility & contrast

On white

5.42
#4F5BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4F5BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BDD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BDD#FFFFFF#000000##FFFFFF
##4F5BDD1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5bdd;
/* rgb */ color: rgb(79, 91, 221);
/* oklch */ color: oklch(53.8% 0.196 273.8);
Tailwind
colors: {
  custom: {
    50: '#8f89e8',
    500: '#4f5bdd',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bdd;
$custom-light: #8f89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bdd",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 234.93,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53783,
    "c": 0.19609,
    "h": 273.8
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#4F5BDD
secondary
#E0DBA8
accent
#DC3DEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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