#4F58D8#4F58D8

#4F58D8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.193 H 274.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4F58D8
RGBrgb(79, 88, 216)
HSLhsl(236, 64%, 58%)
HSVhsv(236, 63%, 85%)
CMYKcmyk(63.4%, 59.3%, 0%, 15.3%)
CIE-LABlab(43.65, 35.77, -66.90)
CIE-LCHlch(43.65, 75.87, 298.13°)
OKLaboklab(52.85% 0.0155 -0.1926)
OKLCHoklch(52.85% 0.193 274.6)
XYZxyz(19.1048, 13.5980, 66.5703)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58D8 #D8CF4F
analogous
#4F9DD8 #4F58D8 #8A4FD8
triadic
#4F58D8 #D84F58 #58D84F
tetradic
#4F58D8 #D84F9D #D8CF4F #4FD88A
square
#4F58D8 #D84F9D #D8CF4F #4FD88A
split-complementary
#4F58D8 #D88A4F #9DD84F
monochromatic
#1F278D #2A34BF #4F58D8 #8188E3 #B3B7EE

Accessibility & contrast

On white

5.65
#4F58D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4F58D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58D8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58D8#FFFFFF#000000##FFFFFF
##4F58D81.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f58d8;
/* rgb */ color: rgb(79, 88, 216);
/* oklch */ color: oklch(52.9% 0.193 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f87e5',
    500: '#4f58d8',
    950: '#000000',
  },
}
SCSS
$custom: #4f58d8;
$custom-light: #8f87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58d8",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 236.058,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.1932,
    "h": 274.6
  },
  "luminance": 0.136
}

Semantic roles & 50–950 ramp

primary
#4F58D8
secondary
#DDD9A6
accent
#DC41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F58D8

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

Preview Lab → · Contrast checker → · Palette generator →

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