#4F41AE#4F41AE

#4F41AE is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.167 H 283.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4F41AE
RGBrgb(79, 65, 174)
HSLhsl(248, 46%, 47%)
HSVhsv(248, 63%, 68%)
CMYKcmyk(54.6%, 62.6%, 0%, 31.8%)
CIE-LABlab(35.00, 36.14, -56.50)
CIE-LCHlch(35.00, 67.07, 302.61°)
OKLaboklab(45.48% 0.0386 -0.1621)
OKLCHoklch(45.48% 0.167 283.4)
XYZxyz(12.7524, 8.4981, 41.0045)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41AE #A0AE41
analogous
#416AAE #4F41AE #8641AE
triadic
#4F41AE #AE4F41 #41AE4F
tetradic
#4F41AE #AE416A #A0AE41 #41AE86
square
#4F41AE #AE416A #A0AE41 #41AE86
split-complementary
#4F41AE #AE8641 #6AAE41
monochromatic
#272055 #3B3081 #4F41AE #7366C6 #9C93D7

Accessibility & contrast

On white

7.78
#4F41AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4F41AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F41AE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41AE#FFFFFF#000000##FFFFFF
##4F41AE1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#255B71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f41ae;
/* rgb */ color: rgb(79, 65, 174);
/* oklch */ color: oklch(45.5% 0.167 283.4);
Tailwind
colors: {
  custom: {
    50: '#8976c7',
    500: '#4f41ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f41ae;
$custom-light: #8976c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41ae",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 247.706,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45478,
    "c": 0.16667,
    "h": 283.4
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#4F41AE
secondary
#BBC289
accent
#D553C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4F41AE

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

Preview Lab → · Contrast checker → · Palette generator →

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