#4F4EB0#4F4EB0

#4F4EB0 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.152 H 279.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4F4EB0
RGBrgb(79, 78, 176)
HSLhsl(241, 39%, 50%)
HSVhsv(241, 56%, 69%)
CMYKcmyk(55.1%, 55.7%, 0%, 31%)
CIE-LABlab(38.28, 28.73, -52.37)
CIE-LCHlch(38.28, 59.73, 298.75°)
OKLaboklab(47.94% 0.025 -0.1499)
OKLCHoklch(47.94% 0.152 279.5)
XYZxyz(13.7829, 10.2448, 42.3170)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4EB0 #AFB04E
analogous
#4E7EB0 #4F4EB0 #804EB0
triadic
#4F4EB0 #B04F4E #4EB04F
tetradic
#4F4EB0 #B04E7E #AFB04E #4EB080
square
#4F4EB0 #B04E7E #AFB04E #4EB080
split-complementary
#4F4EB0 #B0804E #7EB04E
monochromatic
#29285B #3C3B86 #4F4EB0 #7978C3 #A3A2D6

Accessibility & contrast

On white

6.89
#4F4EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4F4EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4EB0
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4EB0#FFFFFF#000000##FFFFFF
##4F4EB01.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5EB3
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#206577
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f4eb0;
/* rgb */ color: rgb(79, 78, 176);
/* oklch */ color: oklch(47.9% 0.152 279.5);
Tailwind
colors: {
  custom: {
    50: '#887fc8',
    500: '#4f4eb0',
    950: '#000000',
  },
}
SCSS
$custom: #4f4eb0;
$custom-light: #887fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4eb0",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 240.612,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47943,
    "c": 0.15198,
    "h": 279.5
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#4F4EB0
secondary
#C3C397
accent
#CF59CD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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