#4F4FA6#4F4FA6

#4F4FA6 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.136 H 279.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4F4FA6
RGBrgb(79, 79, 166)
HSLhsl(240, 36%, 48%)
HSVhsv(240, 52%, 65%)
CMYKcmyk(52.4%, 52.4%, 0%, 34.9%)
CIE-LABlab(37.85, 24.83, -47.12)
CIE-LCHlch(37.85, 53.26, 297.79°)
OKLaboklab(47.41% 0.0233 -0.1345)
OKLCHoklch(47.41% 0.136 279.8)
XYZxyz(12.9012, 10.0066, 37.3207)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FA6 #A6A64F
analogous
#4F7AA6 #4F4FA6 #7A4FA6
triadic
#4F4FA6 #A64F4F #4FA64F
tetradic
#4F4FA6 #A64F7A #A6A64F #4FA67A
square
#4F4FA6 #A64F7A #A6A64F #4FA67A
split-complementary
#4F4FA6 #A67A4F #7AA64F
monochromatic
#282853 #3B3B7D #4F4FA6 #7575BD #9E9ED1

Accessibility & contrast

On white

7.00
#4F4FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4F4FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FA6
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FA6#FFFFFF#000000##FFFFFF
##4F4FA61.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DA9
Deuteranopia (green-blind)
#1856A4
Tritanopia (blue-blind)
#2B6273
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f4fa6;
/* rgb */ color: rgb(79, 79, 166);
/* oklch */ color: oklch(47.4% 0.136 279.8);
Tailwind
colors: {
  custom: {
    50: '#8780c1',
    500: '#4f4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fa6;
$custom-light: #8780c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fa6",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 240,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4741,
    "c": 0.13647,
    "h": 279.8
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#4F4FA6
secondary
#BEBE93
accent
#CC5CCC
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4F4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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