#4F4FAA#4F4FAA

#4F4FAA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.142 H 279.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4F4FAA
RGBrgb(79, 79, 170)
HSLhsl(240, 37%, 49%)
HSVhsv(240, 54%, 67%)
CMYKcmyk(53.5%, 53.5%, 0%, 33.3%)
CIE-LABlab(38.12, 26.13, -49.07)
CIE-LCHlch(38.12, 55.59, 298.04°)
OKLaboklab(47.69% 0.0236 -0.1402)
OKLCHoklch(47.69% 0.142 279.6)
XYZxyz(13.2739, 10.1557, 39.2832)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FAA #AAAA4F
analogous
#4F7DAA #4F4FAA #7D4FAA
triadic
#4F4FAA #AA4F4F #4FAA4F
tetradic
#4F4FAA #AA4F7D #AAAA4F #4FAA7D
square
#4F4FAA #AA4F7D #AAAA4F #4FAA7D
split-complementary
#4F4FAA #AA7D4F #7DAA4F
monochromatic
#282856 #3C3C80 #4F4FAA #7777C0 #A0A0D3

Accessibility & contrast

On white

6.93
#4F4FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4F4FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FAA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FAA#FFFFFF#000000##FFFFFF
##4F4FAA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAD
Deuteranopia (green-blind)
#0E56A8
Tritanopia (blue-blind)
#276375
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f4faa;
/* rgb */ color: rgb(79, 79, 170);
/* oklch */ color: oklch(47.7% 0.142 279.6);
Tailwind
colors: {
  custom: {
    50: '#8780c4',
    500: '#4f4faa',
    950: '#000000',
  },
}
SCSS
$custom: #4f4faa;
$custom-light: #8780c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4faa",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47694,
    "c": 0.14217,
    "h": 279.6
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F4FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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