#4F4FA2#4F4FA2

#4F4FA2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.131 H 280.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4F4FA2
RGBrgb(79, 79, 162)
HSLhsl(240, 34%, 47%)
HSVhsv(240, 51%, 64%)
CMYKcmyk(51.2%, 51.2%, 0%, 36.5%)
CIE-LABlab(37.59, 23.53, -45.14)
CIE-LCHlch(37.59, 50.91, 297.53°)
OKLaboklab(47.13% 0.023 -0.1287)
OKLCHoklch(47.13% 0.131 280.1)
XYZxyz(12.5400, 9.8622, 35.4182)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FA2 #A2A24F
analogous
#4F79A2 #4F4FA2 #794FA2
triadic
#4F4FA2 #A24F4F #4FA24F
tetradic
#4F4FA2 #A24F79 #A2A24F #4FA279
square
#4F4FA2 #A24F79 #A2A24F #4FA279
split-complementary
#4F4FA2 #A2794F #79A24F
monochromatic
#272750 #3B3B79 #4F4FA2 #7373BB #9C9CCF

Accessibility & contrast

On white

7.06
#4F4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4F4FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4FA2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FA2#FFFFFF#000000##FFFFFF
##4F4FA21.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#2E6171
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f4fa2;
/* rgb */ color: rgb(79, 79, 162);
/* oklch */ color: oklch(47.1% 0.131 280.1);
Tailwind
colors: {
  custom: {
    50: '#8680be',
    500: '#4f4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fa2;
$custom-light: #8680be;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fa2",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47131,
    "c": 0.1307,
    "h": 280.1
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#4F4FA2
secondary
#BCBC91
accent
#CB5DCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4F4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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