#4F58E1#4F58E1

#4F58E1 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.6% C 0.205 H 274.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4F58E1
RGBrgb(79, 88, 225)
HSLhsl(236, 71%, 60%)
HSVhsv(236, 65%, 88%)
CMYKcmyk(64.9%, 60.9%, 0%, 11.8%)
CIE-LABlab(44.34, 38.78, -70.90)
CIE-LCHlch(44.34, 80.81, 298.68°)
OKLaboklab(53.58% 0.0153 -0.2043)
OKLCHoklch(53.58% 0.205 274.3)
XYZxyz(20.3003, 14.0762, 72.8667)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58E1 #E1D84F
analogous
#4FA1E1 #4F58E1 #8F4FE1
triadic
#4F58E1 #E14F58 #58E14F
tetradic
#4F58E1 #E14FA1 #E1D84F #4FE18F
square
#4F58E1 #E14FA1 #E1D84F #4FE18F
split-complementary
#4F58E1 #E18F4F #A1E14F
monochromatic
#1A229B #232ECF #4F58E1 #838AEA #B8BBF3

Accessibility & contrast

On white

5.50
#4F58E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4F58E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58E1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58E1#FFFFFF#000000##FFFFFF
##4F58E11.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f58e1;
/* rgb */ color: rgb(79, 88, 225);
/* oklch */ color: oklch(53.6% 0.205 274.3);
Tailwind
colors: {
  custom: {
    50: '#9087eb',
    500: '#4f58e1',
    950: '#000000',
  },
}
SCSS
$custom: #4f58e1;
$custom-light: #9087eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58e1",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 236.301,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53578,
    "c": 0.2049,
    "h": 274.3
  },
  "luminance": 0.14078
}

Semantic roles & 50–950 ramp

primary
#4F58E1
secondary
#E2DFAA
accent
#E33AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F58E1

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

Preview Lab → · Contrast checker → · Palette generator →

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