#4F58DC#4F58DC

#4F58DC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.198 H 274.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4F58DC
RGBrgb(79, 88, 220)
HSLhsl(236, 67%, 59%)
HSVhsv(236, 64%, 86%)
CMYKcmyk(64.1%, 60%, 0%, 13.7%)
CIE-LABlab(43.96, 37.11, -68.69)
CIE-LCHlch(43.96, 78.07, 298.38°)
OKLaboklab(53.17% 0.0154 -0.1978)
OKLCHoklch(53.17% 0.198 274.5)
XYZxyz(19.6282, 13.8073, 69.3270)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58DC #DCD34F
analogous
#4F9EDC #4F58DC #8C4FDC
triadic
#4F58DC #DC4F58 #58DC4F
tetradic
#4F58DC #DC4F9E #DCD34F #4FDC8C
square
#4F58DC #DC4F9E #DCD34F #4FDC8C
split-complementary
#4F58DC #DC8C4F #9EDC4F
monochromatic
#1D2593 #2732C6 #4F58DC #8288E6 #B5B9F0

Accessibility & contrast

On white

5.58
#4F58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4F58DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58DC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58DC#FFFFFF#000000##FFFFFF
##4F58DC1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f58dc;
/* rgb */ color: rgb(79, 88, 220);
/* oklch */ color: oklch(53.2% 0.198 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f87e8',
    500: '#4f58dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f58dc;
$custom-light: #8f87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58dc",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 236.17,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.19842,
    "h": 274.5
  },
  "luminance": 0.13809
}

Semantic roles & 50–950 ramp

primary
#4F58DC
secondary
#DFDCA8
accent
#DF3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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