#4F3EB8#4F3EB8

#4F3EB8 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.183 H 282.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4F3EB8
RGBrgb(79, 62, 184)
HSLhsl(248, 50%, 48%)
HSVhsv(248, 66%, 72%)
CMYKcmyk(57.1%, 66.3%, 0%, 27.8%)
CIE-LABlab(35.14, 41.07, -62.20)
CIE-LCHlch(35.14, 74.54, 303.44°)
OKLaboklab(45.83% 0.0405 -0.1789)
OKLCHoklch(45.83% 0.183 282.7)
XYZxyz(13.5961, 8.5673, 46.2753)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3EB8 #A7B83E
analogous
#3E6AB8 #4F3EB8 #8C3EB8
triadic
#4F3EB8 #B84F3E #3EB84F
tetradic
#4F3EB8 #B83E6A #A7B83E #3EB88C
square
#4F3EB8 #B83E6A #A7B83E #3EB88C
split-complementary
#4F3EB8 #B88C3E #6AB83E
monochromatic
#281F5C #3B2F8A #4F3EB8 #7567CC #9F95DB

Accessibility & contrast

On white

7.74
#4F3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4F3EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3EB8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3EB8#FFFFFF#000000##FFFFFF
##4F3EB81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#175D75
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f3eb8;
/* rgb */ color: rgb(79, 62, 184);
/* oklch */ color: oklch(45.8% 0.183 282.7);
Tailwind
colors: {
  custom: {
    50: '#8b74ce',
    500: '#4f3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #4f3eb8;
$custom-light: #8b74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3eb8",
  "rgb": {
    "r": 79,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 248.361,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4583,
    "c": 0.18342,
    "h": 282.7
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#4F3EB8
secondary
#BEC78B
accent
#D94FC6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4F3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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