#4F58E2#4F58E2

#4F58E2 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.7% C 0.206 H 274.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4F58E2
RGBrgb(79, 88, 226)
HSLhsl(236, 72%, 60%)
HSVhsv(236, 65%, 89%)
CMYKcmyk(65%, 61.1%, 0%, 11.4%)
CIE-LABlab(44.42, 39.11, -71.34)
CIE-LCHlch(44.42, 81.36, 298.74°)
OKLaboklab(53.66% 0.0152 -0.2056)
OKLCHoklch(53.66% 0.206 274.2)
XYZxyz(20.4371, 14.1309, 73.5873)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58E2 #E2D94F
analogous
#4FA1E2 #4F58E2 #904FE2
triadic
#4F58E2 #E24F58 #58E24F
tetradic
#4F58E2 #E24FA1 #E2D94F #4FE290
square
#4F58E2 #E24FA1 #E2D94F #4FE290
split-complementary
#4F58E2 #E2904F #A1E24F
monochromatic
#1A229D #222DD1 #4F58E2 #848AEB #B8BCF3

Accessibility & contrast

On white

5.49
#4F58E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4F58E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58E2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58E2#FFFFFF#000000##FFFFFF
##4F58E21.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f58e2;
/* rgb */ color: rgb(79, 88, 226);
/* oklch */ color: oklch(53.7% 0.206 274.2);
Tailwind
colors: {
  custom: {
    50: '#9087ec',
    500: '#4f58e2',
    950: '#000000',
  },
}
SCSS
$custom: #4f58e2;
$custom-light: #9087ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58e2",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 236.327,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5366,
    "c": 0.20618,
    "h": 274.2
  },
  "luminance": 0.14133
}

Semantic roles & 50–950 ramp

primary
#4F58E2
secondary
#E3DFAA
accent
#E339EE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F58E2

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

Preview Lab → · Contrast checker → · Palette generator →

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