#4F3FA9#4F3FA9

#4F3FA9 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.163 H 284.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4F3FA9
RGBrgb(79, 63, 169)
HSLhsl(249, 46%, 45%)
HSVhsv(249, 63%, 66%)
CMYKcmyk(53.3%, 62.7%, 0%, 33.7%)
CIE-LABlab(34.15, 35.78, -54.89)
CIE-LCHlch(34.15, 65.53, 303.10°)
OKLaboklab(44.74% 0.041 -0.1574)
OKLCHoklch(44.74% 0.163 284.6)
XYZxyz(12.1612, 8.0812, 38.4474)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3FA9 #99A93F
analogous
#3F64A9 #4F3FA9 #843FA9
triadic
#4F3FA9 #A94F3F #3FA94F
tetradic
#4F3FA9 #A93F64 #99A93F #3FA984
square
#4F3FA9 #A93F64 #99A93F #3FA984
split-complementary
#4F3FA9 #A9843F #64A93F
monochromatic
#251E50 #3A2E7C #4F3FA9 #7061C4 #988ED5

Accessibility & contrast

On white

8.03
#4F3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4F3FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3FA9
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3FA9#FFFFFF#000000##FFFFFF
##4F3FA91.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#2A586E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f3fa9;
/* rgb */ color: rgb(79, 63, 169);
/* oklch */ color: oklch(44.7% 0.163 284.6);
Tailwind
colors: {
  custom: {
    50: '#8875c3',
    500: '#4f3fa9',
    950: '#000000',
  },
}
SCSS
$custom: #4f3fa9;
$custom-light: #8875c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3fa9",
  "rgb": {
    "r": 79,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 249.057,
    "s": 45.69,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44736,
    "c": 0.16268,
    "h": 284.6
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#4F3FA9
secondary
#B7C084
accent
#D552C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4F3FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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