#4F46BB#4F46BB

#4F46BB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.177 H 280.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4F46BB
RGBrgb(79, 70, 187)
HSLhsl(245, 46%, 50%)
HSVhsv(245, 63%, 73%)
CMYKcmyk(57.8%, 62.6%, 0%, 26.7%)
CIE-LABlab(37.17, 37.26, -60.65)
CIE-LCHlch(37.17, 71.18, 301.56°)
OKLaboklab(47.38% 0.0328 -0.1743)
OKLCHoklch(47.38% 0.177 280.7)
XYZxyz(14.3814, 9.6295, 48.1049)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46BB #B2BB46
analogous
#4678BB #4F46BB #8946BB
triadic
#4F46BB #BB4F46 #46BB4F
tetradic
#4F46BB #BB4678 #B2BB46 #46BB89
square
#4F46BB #BB4678 #B2BB46 #46BB89
split-complementary
#4F46BB #BB8946 #78BB46
monochromatic
#292462 #3C358F #4F46BB #7A73CB #A4A0DC

Accessibility & contrast

On white

7.18
#4F46BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4F46BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F46BB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46BB#FFFFFF#000000##FFFFFF
##4F46BB1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#0F637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f46bb;
/* rgb */ color: rgb(79, 70, 187);
/* oklch */ color: oklch(47.4% 0.177 280.7);
Tailwind
colors: {
  custom: {
    50: '#8b7ad0',
    500: '#4f46bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f46bb;
$custom-light: #8b7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46bb",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 244.615,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47382,
    "c": 0.1774,
    "h": 280.7
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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