#4F46BF#4F46BF

#4F46BF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.183 H 280.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4F46BF
RGBrgb(79, 70, 191)
HSLhsl(244, 49%, 51%)
HSVhsv(244, 63%, 75%)
CMYKcmyk(58.6%, 63.4%, 0%, 25.1%)
CIE-LABlab(37.49, 38.54, -62.48)
CIE-LCHlch(37.49, 73.42, 301.67°)
OKLaboklab(47.71% 0.0325 -0.1797)
OKLCHoklch(47.71% 0.183 280.3)
XYZxyz(14.8156, 9.8031, 50.3916)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46BF #B6BF46
analogous
#4679BF #4F46BF #8B46BF
triadic
#4F46BF #BF4F46 #46BF4F
tetradic
#4F46BF #BF4679 #B6BF46 #46BF8B
square
#4F46BF #BF4679 #B6BF46 #46BF8B
split-complementary
#4F46BF #BF8B46 #79BF46
monochromatic
#292467 #3B3394 #4F46BF #7A73CF #A6A1DE

Accessibility & contrast

On white

7.09
#4F46BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4F46BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F46BF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46BF#FFFFFF#000000##FFFFFF
##4F46BF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#01647C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f46bf;
/* rgb */ color: rgb(79, 70, 191);
/* oklch */ color: oklch(47.7% 0.183 280.3);
Tailwind
colors: {
  custom: {
    50: '#8b7ad3',
    500: '#4f46bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f46bf;
$custom-light: #8b7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46bf",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 244.463,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47714,
    "c": 0.18263,
    "h": 280.3
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#4F46BF
secondary
#C7CB96
accent
#D850CE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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