#4F4FAF#4F4FAF

#4F4FAF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.149 H 279.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4F4FAF
RGBrgb(79, 79, 175)
HSLhsl(240, 38%, 50%)
HSVhsv(240, 55%, 69%)
CMYKcmyk(54.9%, 54.9%, 0%, 31.4%)
CIE-LABlab(38.46, 27.77, -51.48)
CIE-LCHlch(38.46, 58.50, 298.34°)
OKLaboklab(48.06% 0.0239 -0.1473)
OKLCHoklch(48.06% 0.149 279.2)
XYZxyz(13.7559, 10.3485, 41.8217)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FAF #AFAF4F
analogous
#4F7FAF #4F4FAF #7F4FAF
triadic
#4F4FAF #AF4F4F #4FAF4F
tetradic
#4F4FAF #AF4F7F #AFAF4F #4FAF7F
square
#4F4FAF #AF4F7F #AFAF4F #4FAF7F
split-complementary
#4F4FAF #AF7F4F #7FAF4F
monochromatic
#29295B #3C3C85 #4F4FAF #7979C2 #A3A3D5

Accessibility & contrast

On white

6.84
#4F4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4F4FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FAF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FAF#FFFFFF#000000##FFFFFF
##4F4FAF1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135EB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#216577
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f4faf;
/* rgb */ color: rgb(79, 79, 175);
/* oklch */ color: oklch(48.1% 0.149 279.2);
Tailwind
colors: {
  custom: {
    50: '#8880c7',
    500: '#4f4faf',
    950: '#000000',
  },
}
SCSS
$custom: #4f4faf;
$custom-light: #8880c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4faf",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.14923,
    "h": 279.2
  },
  "luminance": 0.10349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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