#4F62E5#4F62E5

#4F62E5 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.7% C 0.198 H 272.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4F62E5
RGBrgb(79, 98, 229)
HSLhsl(232, 74%, 60%)
HSVhsv(232, 66%, 90%)
CMYKcmyk(65.5%, 57.2%, 0%, 10.2%)
CIE-LABlab(47.04, 33.99, -68.77)
CIE-LCHlch(47.04, 76.71, 296.31°)
OKLaboklab(55.67% 0.0071 -0.198)
OKLCHoklch(55.67% 0.198 272.1)
XYZxyz(21.7302, 16.0528, 76.0669)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F62E5 #E5D24F
analogous
#4FADE5 #4F62E5 #874FE5
triadic
#4F62E5 #E54F62 #62E54F
tetradic
#4F62E5 #E54FAD #E5D24F #4FE587
square
#4F62E5 #E54FAD #E5D24F #4FE587
split-complementary
#4F62E5 #E5874F #ADE54F
monochromatic
#1829A2 #2037D7 #4F62E5 #8492ED #BAC1F5

Accessibility & contrast

On white

4.99
#4F62E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4F62E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F62E5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F62E5#FFFFFF#000000##FFFFFF
##4F62E51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f62e5;
/* rgb */ color: rgb(79, 98, 229);
/* oklch */ color: oklch(55.7% 0.198 272.1);
Tailwind
colors: {
  custom: {
    50: '#908eee',
    500: '#4f62e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f62e5;
$custom-light: #908eee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f62e5",
  "rgb": {
    "r": 79,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 232.4,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55673,
    "c": 0.19809,
    "h": 272.1
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#4F62E5
secondary
#E5DDAB
accent
#BD0FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F62E5

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

Preview Lab → · Contrast checker → · Palette generator →

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