#4F46BA#4F46BA

#4F46BA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.176 H 280.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4F46BA
RGBrgb(79, 70, 186)
HSLhsl(245, 46%, 50%)
HSVhsv(245, 62%, 73%)
CMYKcmyk(57.5%, 62.4%, 0%, 27.1%)
CIE-LABlab(37.09, 36.94, -60.20)
CIE-LCHlch(37.09, 70.62, 301.53°)
OKLaboklab(47.3% 0.0329 -0.173)
OKLCHoklch(47.3% 0.176 280.8)
XYZxyz(14.2748, 9.5868, 47.5431)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46BA #B1BA46
analogous
#4677BA #4F46BA #8946BA
triadic
#4F46BA #BA4F46 #46BA4F
tetradic
#4F46BA #BA4677 #B1BA46 #46BA89
square
#4F46BA #BA4677 #B1BA46 #46BA89
split-complementary
#4F46BA #BA8946 #77BA46
monochromatic
#292461 #3C358E #4F46BA #7973CB #A49FDB

Accessibility & contrast

On white

7.20
#4F46BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4F46BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F46BA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46BA#FFFFFF#000000##FFFFFF
##4F46BA1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#116279
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f46ba;
/* rgb */ color: rgb(79, 70, 186);
/* oklch */ color: oklch(47.3% 0.176 280.8);
Tailwind
colors: {
  custom: {
    50: '#8b7ad0',
    500: '#4f46ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f46ba;
$custom-light: #8b7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46ba",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 244.655,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.473,
    "c": 0.17609,
    "h": 280.8
  },
  "luminance": 0.09588
}

Semantic roles & 50–950 ramp

primary
#4F46BA
secondary
#C4C894
accent
#D552CB
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4F46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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