#4F5FD4#4F5FD4

#4F5FD4 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.179 H 273.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4F5FD4
RGBrgb(79, 95, 212)
HSLhsl(233, 61%, 57%)
HSVhsv(233, 63%, 83%)
CMYKcmyk(62.7%, 55.2%, 0%, 16.9%)
CIE-LABlab(45.08, 30.08, -62.30)
CIE-LCHlch(45.08, 69.18, 295.78°)
OKLaboklab(53.82% 0.0093 -0.179)
OKLCHoklch(53.82% 0.179 273)
XYZxyz(19.1964, 14.5985, 64.0808)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FD4 #D4C44F
analogous
#4FA2D4 #4F5FD4 #824FD4
triadic
#4F5FD4 #D44F5F #5FD44F
tetradic
#4F5FD4 #D44FA2 #D4C44F #4FD482
square
#4F5FD4 #D44FA2 #D4C44F #4FD482
split-complementary
#4F5FD4 #D4824F #A2D44F
monochromatic
#212D87 #2D3EB9 #4F5FD4 #808CE0 #B1B8EC

Accessibility & contrast

On white

5.36
#4F5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4F5FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FD4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FD4#FFFFFF#000000##FFFFFF
##4F5FD41.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5fd4;
/* rgb */ color: rgb(79, 95, 212);
/* oklch */ color: oklch(53.8% 0.179 273.0);
Tailwind
colors: {
  custom: {
    50: '#8d8ce2',
    500: '#4f5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fd4;
$custom-light: #8d8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fd4",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 232.782,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.1792,
    "h": 273
  },
  "luminance": 0.146
}

Semantic roles & 50–950 ramp

primary
#4F5FD4
secondary
#DAD4A4
accent
#D144E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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