#4F5FD8#4F5FD8

#4F5FD8 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.185 H 272.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4F5FD8
RGBrgb(79, 95, 216)
HSLhsl(233, 64%, 58%)
HSVhsv(233, 63%, 85%)
CMYKcmyk(63.4%, 56%, 0%, 15.3%)
CIE-LABlab(45.36, 31.44, -64.12)
CIE-LCHlch(45.36, 71.41, 296.12°)
OKLaboklab(54.12% 0.0094 -0.1843)
OKLCHoklch(54.12% 0.185 272.9)
XYZxyz(19.7072, 14.8029, 66.7711)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FD8 #D8C84F
analogous
#4FA3D8 #4F5FD8 #844FD8
triadic
#4F5FD8 #D84F5F #5FD84F
tetradic
#4F5FD8 #D84FA3 #D8C84F #4FD884
square
#4F5FD8 #D84FA3 #D8C84F #4FD884
split-complementary
#4F5FD8 #D8844F #A3D84F
monochromatic
#1F2C8D #2A3CBF #4F5FD8 #818DE3 #B3BAEE

Accessibility & contrast

On white

5.30
#4F5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4F5FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FD8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FD8#FFFFFF#000000##FFFFFF
##4F5FD81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5fd8;
/* rgb */ color: rgb(79, 95, 216);
/* oklch */ color: oklch(54.1% 0.185 272.9);
Tailwind
colors: {
  custom: {
    50: '#8e8ce5',
    500: '#4f5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fd8;
$custom-light: #8e8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fd8",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 232.993,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.18457,
    "h": 272.9
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#4F5FD8
secondary
#DDD6A6
accent
#D341E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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