#4F58D4#4F58D4

#4F58D4 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.188 H 274.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4F58D4
RGBrgb(79, 88, 212)
HSLhsl(236, 61%, 57%)
HSVhsv(236, 63%, 83%)
CMYKcmyk(62.7%, 58.5%, 0%, 16.9%)
CIE-LABlab(43.35, 34.43, -65.10)
CIE-LCHlch(43.35, 73.65, 297.88°)
OKLaboklab(52.54% 0.0156 -0.1873)
OKLCHoklch(52.54% 0.188 274.7)
XYZxyz(18.5939, 13.3936, 63.8800)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58D4 #D4CB4F
analogous
#4F9BD4 #4F58D4 #894FD4
triadic
#4F58D4 #D44F58 #58D44F
tetradic
#4F58D4 #D44F9B #D4CB4F #4FD489
square
#4F58D4 #D44F9B #D4CB4F #4FD489
split-complementary
#4F58D4 #D4894F #9BD44F
monochromatic
#212887 #2D37B9 #4F58D4 #8087E0 #B1B5EC

Accessibility & contrast

On white

5.71
#4F58D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4F58D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58D4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58D4#FFFFFF#000000##FFFFFF
##4F58D41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f58d4;
/* rgb */ color: rgb(79, 88, 212);
/* oklch */ color: oklch(52.5% 0.188 274.7);
Tailwind
colors: {
  custom: {
    50: '#8e87e2',
    500: '#4f58d4',
    950: '#000000',
  },
}
SCSS
$custom: #4f58d4;
$custom-light: #8e87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58d4",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 235.94,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.18792,
    "h": 274.7
  },
  "luminance": 0.13395
}

Semantic roles & 50–950 ramp

primary
#4F58D4
secondary
#DAD7A4
accent
#D944E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4F58D4

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

Preview Lab → · Contrast checker → · Palette generator →

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