#4F4FAC#4F4FAC

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

Color values

HEX#4F4FAC
RGBrgb(79, 79, 172)
HSLhsl(240, 37%, 49%)
HSVhsv(240, 54%, 67%)
CMYKcmyk(54.1%, 54.1%, 0%, 32.5%)
CIE-LABlab(38.26, 26.79, -50.04)
CIE-LCHlch(38.26, 56.76, 298.16°)
OKLaboklab(47.84% 0.0237 -0.143)
OKLCHoklch(47.84% 0.145 279.4)
XYZxyz(13.4645, 10.2320, 40.2872)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FAC #ACAC4F
analogous
#4F7EAC #4F4FAC #7E4FAC
triadic
#4F4FAC #AC4F4F #4FAC4F
tetradic
#4F4FAC #AC4F7E #ACAC4F #4FAC7E
square
#4F4FAC #AC4F7E #ACAC4F #4FAC7E
split-complementary
#4F4FAC #AC7E4F #7EAC4F
monochromatic
#282858 #3C3C82 #4F4FAC #7777C1 #A1A1D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F4FAC#FFFFFF#000000##FFFFFF
##4F4FAC1.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)
#195EAF
Deuteranopia (green-blind)
#0656AA
Tritanopia (blue-blind)
#256476
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f4fac;
/* rgb */ color: rgb(79, 79, 172);
/* oklch */ color: oklch(47.8% 0.145 279.4);
Tailwind
colors: {
  custom: {
    50: '#8880c5',
    500: '#4f4fac',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fac;
$custom-light: #8880c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fac",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47839,
    "c": 0.145,
    "h": 279.4
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#4F4FAC
secondary
#C1C196
accent
#CD5BCD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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