#4F5ED2#4F5ED2

#4F5ED2 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.178 H 273.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4F5ED2
RGBrgb(79, 94, 210)
HSLhsl(233, 59%, 57%)
HSVhsv(233, 62%, 82%)
CMYKcmyk(62.4%, 55.2%, 0%, 17.6%)
CIE-LABlab(44.69, 30.03, -61.79)
CIE-LCHlch(44.69, 68.70, 295.92°)
OKLaboklab(53.49% 0.0101 -0.1775)
OKLCHoklch(53.49% 0.178 273.3)
XYZxyz(18.8562, 14.3192, 62.7305)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5ED2 #D2C34F
analogous
#4FA0D2 #4F5ED2 #824FD2
triadic
#4F5ED2 #D24F5E #5ED24F
tetradic
#4F5ED2 #D24FA0 #D2C34F #4FD282
square
#4F5ED2 #D24FA0 #D2C34F #4FD282
split-complementary
#4F5ED2 #D2824F #A0D24F
monochromatic
#222D85 #2E3EB5 #4F5ED2 #808BDE #B0B7EB

Accessibility & contrast

On white

5.43
#4F5ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4F5ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5ED2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5ED2#FFFFFF#000000##FFFFFF
##4F5ED21.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5ed2;
/* rgb */ color: rgb(79, 94, 210);
/* oklch */ color: oklch(53.5% 0.178 273.3);
Tailwind
colors: {
  custom: {
    50: '#8d8be1',
    500: '#4f5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ed2;
$custom-light: #8d8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ed2",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 233.13,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.17776,
    "h": 273.3
  },
  "luminance": 0.14321
}

Semantic roles & 50–950 ramp

primary
#4F5ED2
secondary
#D9D3A4
accent
#D045E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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