#4F58D2#4F58D2

#4F58D2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.185 H 274.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4F58D2
RGBrgb(79, 88, 210)
HSLhsl(236, 59%, 57%)
HSVhsv(236, 62%, 82%)
CMYKcmyk(62.4%, 58.1%, 0%, 17.6%)
CIE-LABlab(43.20, 33.76, -64.20)
CIE-LCHlch(43.20, 72.53, 297.74°)
OKLaboklab(52.38% 0.0156 -0.1846)
OKLCHoklch(52.38% 0.185 274.8)
XYZxyz(18.3432, 13.2933, 62.5595)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58D2 #D2C94F
analogous
#4F9AD2 #4F58D2 #884FD2
triadic
#4F58D2 #D24F58 #58D24F
tetradic
#4F58D2 #D24F9A #D2C94F #4FD288
square
#4F58D2 #D24F9A #D2C94F #4FD288
split-complementary
#4F58D2 #D2884F #9AD24F
monochromatic
#222985 #2E38B5 #4F58D2 #8086DE #B0B4EB

Accessibility & contrast

On white

5.74
#4F58D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4F58D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58D2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58D2#FFFFFF#000000##FFFFFF
##4F58D21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f58d2;
/* rgb */ color: rgb(79, 88, 210);
/* oklch */ color: oklch(52.4% 0.185 274.8);
Tailwind
colors: {
  custom: {
    50: '#8d87e1',
    500: '#4f58d2',
    950: '#000000',
  },
}
SCSS
$custom: #4f58d2;
$custom-light: #8d87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58d2",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 235.878,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.18527,
    "h": 274.8
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#4F58D2
secondary
#D9D6A4
accent
#D845E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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