#4F4EAF#4F4EAF

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

Color values

HEX#4F4EAF
RGBrgb(79, 78, 175)
HSLhsl(241, 38%, 50%)
HSVhsv(241, 55%, 69%)
CMYKcmyk(54.9%, 55.4%, 0%, 31.4%)
CIE-LABlab(38.21, 28.40, -51.89)
CIE-LCHlch(38.21, 59.16, 298.69°)
OKLaboklab(47.87% 0.0249 -0.1485)
OKLCHoklch(47.87% 0.151 279.5)
XYZxyz(13.6843, 10.2053, 41.7979)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4EAF #AEAF4E
analogous
#4E7DAF #4F4EAF #804EAF
triadic
#4F4EAF #AF4F4E #4EAF4F
tetradic
#4F4EAF #AF4E7D #AEAF4E #4EAF80
square
#4F4EAF #AF4E7D #AEAF4E #4EAF80
split-complementary
#4F4EAF #AF804E #7DAF4E
monochromatic
#29285A #3C3B85 #4F4EAF #7878C3 #A2A2D6

Accessibility & contrast

On white

6.91
#4F4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4F4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4EAF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4EAF#FFFFFF#000000##FFFFFF
##4F4EAF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5EB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#226477
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f4eaf;
/* rgb */ color: rgb(79, 78, 175);
/* oklch */ color: oklch(47.9% 0.151 279.5);
Tailwind
colors: {
  custom: {
    50: '#887fc7',
    500: '#4f4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4f4eaf;
$custom-light: #887fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4eaf",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 240.619,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47869,
    "c": 0.15059,
    "h": 279.5
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#4F4EAF
secondary
#C2C396
accent
#CE5ACD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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