#4F5ED6#4F5ED6

#4F5ED6 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.183 H 273.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4F5ED6
RGBrgb(79, 94, 214)
HSLhsl(233, 62%, 57%)
HSVhsv(233, 63%, 84%)
CMYKcmyk(63.1%, 56.1%, 0%, 16.1%)
CIE-LABlab(44.97, 31.39, -63.61)
CIE-LCHlch(44.97, 70.93, 296.26°)
OKLaboklab(53.79% 0.0103 -0.1829)
OKLCHoklch(53.79% 0.183 273.2)
XYZxyz(19.3607, 14.5211, 65.3879)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5ED6 #D6C74F
analogous
#4FA2D6 #4F5ED6 #834FD6
triadic
#4F5ED6 #D64F5E #5ED64F
tetradic
#4F5ED6 #D64FA2 #D6C74F #4FD683
square
#4F5ED6 #D64FA2 #D6C74F #4FD683
split-complementary
#4F5ED6 #D6834F #A2D64F
monochromatic
#202C8A #2C3CBC #4F5ED6 #818BE2 #B2B9ED

Accessibility & contrast

On white

5.38
#4F5ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4F5ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5ED6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5ED6#FFFFFF#000000##FFFFFF
##4F5ED61.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5ed6;
/* rgb */ color: rgb(79, 94, 214);
/* oklch */ color: oklch(53.8% 0.183 273.2);
Tailwind
colors: {
  custom: {
    50: '#8e8be3',
    500: '#4f5ed6',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ed6;
$custom-light: #8e8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ed6",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 214
  },
  "hsl": {
    "h": 233.333,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53786,
    "c": 0.18314,
    "h": 273.2
  },
  "luminance": 0.14523
}

Semantic roles & 50–950 ramp

primary
#4F5ED6
secondary
#DCD6A5
accent
#D343E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4F5ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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