#4F3DAB#4F3DAB

#4F3DAB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.6% C 0.168 H 284.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4F3DAB
RGBrgb(79, 61, 171)
HSLhsl(250, 47%, 45%)
HSVhsv(250, 64%, 67%)
CMYKcmyk(53.8%, 64.3%, 0%, 32.9%)
CIE-LABlab(33.86, 37.61, -56.57)
CIE-LCHlch(33.86, 67.93, 303.62°)
OKLaboklab(44.57% 0.0429 -0.1624)
OKLCHoklch(44.57% 0.168 284.8)
XYZxyz(12.2417, 7.9394, 39.4076)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3DAB #99AB3D
analogous
#3D62AB #4F3DAB #863DAB
triadic
#4F3DAB #AB4F3D #3DAB4F
tetradic
#4F3DAB #AB3D62 #99AB3D #3DAB86
square
#4F3DAB #AB3D62 #99AB3D #3DAB86
split-complementary
#4F3DAB #AB863D #62AB3D
monochromatic
#251D51 #3A2D7E #4F3DAB #705FC6 #988CD6

Accessibility & contrast

On white

8.11
#4F3DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F3DAB
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3DAB#FFFFFF#000000##FFFFFF
##4F3DAB1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#29586E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f3dab;
/* rgb */ color: rgb(79, 61, 171);
/* oklch */ color: oklch(44.6% 0.168 284.8);
Tailwind
colors: {
  custom: {
    50: '#8973c5',
    500: '#4f3dab',
    950: '#000000',
  },
}
SCSS
$custom: #4f3dab;
$custom-light: #8973c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3dab",
  "rgb": {
    "r": 79,
    "g": 61,
    "b": 171
  },
  "hsl": {
    "h": 249.818,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4457,
    "c": 0.16792,
    "h": 284.8
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#4F3DAB
secondary
#B7C183
accent
#D751C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4F3DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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