#4F3FA5#4F3FA5

#4F3FA5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.157 H 285.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4F3FA5
RGBrgb(79, 63, 165)
HSLhsl(249, 45%, 45%)
HSVhsv(249, 62%, 65%)
CMYKcmyk(52.1%, 61.8%, 0%, 35.3%)
CIE-LABlab(33.84, 34.53, -53.00)
CIE-LCHlch(33.84, 63.25, 303.09°)
OKLaboklab(44.41% 0.0412 -0.1519)
OKLCHoklch(44.41% 0.157 285.2)
XYZxyz(11.7915, 7.9333, 36.5000)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3FA5 #95A53F
analogous
#3F62A5 #4F3FA5 #823FA5
triadic
#4F3FA5 #A54F3F #3FA54F
tetradic
#4F3FA5 #A53F62 #95A53F #3FA582
square
#4F3FA5 #A53F62 #95A53F #3FA582
split-complementary
#4F3FA5 #A5823F #62A53F
monochromatic
#251D4C #3A2E79 #4F3FA5 #6F5FC2 #978CD3

Accessibility & contrast

On white

8.12
#4F3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4F3FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3FA5
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3FA5#FFFFFF#000000##FFFFFF
##4F3FA51.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#2E576C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f3fa5;
/* rgb */ color: rgb(79, 63, 165);
/* oklch */ color: oklch(44.4% 0.157 285.2);
Tailwind
colors: {
  custom: {
    50: '#8875c0',
    500: '#4f3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #4f3fa5;
$custom-light: #8875c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3fa5",
  "rgb": {
    "r": 79,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 249.412,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44414,
    "c": 0.15735,
    "h": 285.2
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#4F3FA5
secondary
#B4BE82
accent
#D453C0
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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