#4F58D9#4F58D9

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

Color values

HEX#4F58D9
RGBrgb(79, 88, 217)
HSLhsl(236, 64%, 58%)
HSVhsv(236, 64%, 85%)
CMYKcmyk(63.6%, 59.4%, 0%, 14.9%)
CIE-LABlab(43.73, 36.11, -67.35)
CIE-LCHlch(43.73, 76.42, 298.20°)
OKLaboklab(52.93% 0.0155 -0.1939)
OKLCHoklch(52.93% 0.195 274.6)
XYZxyz(19.2344, 13.6498, 67.2532)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58D9 #D9D04F
analogous
#4F9DD9 #4F58D9 #8B4FD9
triadic
#4F58D9 #D94F58 #58D94F
tetradic
#4F58D9 #D94F9D #D9D04F #4FD98B
square
#4F58D9 #D94F9D #D9D04F #4FD98B
split-complementary
#4F58D9 #D98B4F #9DD94F
monochromatic
#1F268F #2A34C1 #4F58D9 #8188E4 #B4B8EF

Accessibility & contrast

On white

5.63
#4F58D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4F58D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58D9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58D9#FFFFFF#000000##FFFFFF
##4F58D91.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f58d9;
/* rgb */ color: rgb(79, 88, 217);
/* oklch */ color: oklch(52.9% 0.195 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f87e6',
    500: '#4f58d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f58d9;
$custom-light: #8f87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58d9",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 236.087,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.19451,
    "h": 274.6
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#4F58D9
secondary
#DDDAA6
accent
#DD40E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F58D9

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

Preview Lab → · Contrast checker → · Palette generator →

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