#4F3EC4#4F3EC4

#4F3EC4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.9% C 0.198 H 281.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4F3EC4
RGBrgb(79, 62, 196)
HSLhsl(248, 53%, 51%)
HSVhsv(248, 68%, 77%)
CMYKcmyk(59.7%, 68.4%, 0%, 23.1%)
CIE-LABlab(36.16, 44.82, -67.58)
CIE-LCHlch(36.16, 81.09, 303.55°)
OKLaboklab(46.88% 0.0388 -0.1947)
OKLCHoklch(46.88% 0.198 281.3)
XYZxyz(14.9078, 9.0920, 53.1832)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3EC4 #B3C43E
analogous
#3E70C4 #4F3EC4 #923EC4
triadic
#4F3EC4 #C44F3E #3EC44F
tetradic
#4F3EC4 #C43E70 #B3C43E #3EC492
square
#4F3EC4 #C43E70 #B3C43E #3EC492
split-complementary
#4F3EC4 #C4923E #70C43E
monochromatic
#292068 #3B2E97 #4F3EC4 #7A6DD2 #A49CE1

Accessibility & contrast

On white

7.45
#4F3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4F3EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3EC4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3EC4#FFFFFF#000000##FFFFFF
##4F3EC41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f3ec4;
/* rgb */ color: rgb(79, 62, 196);
/* oklch */ color: oklch(46.9% 0.198 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d75d7',
    500: '#4f3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ec4;
$custom-light: #8d75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ec4",
  "rgb": {
    "r": 79,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 247.612,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46883,
    "c": 0.19849,
    "h": 281.3
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#4F3EC4
secondary
#C5CD91
accent
#DD4BCA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4F3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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