#4F46BC#4F46BC

#4F46BC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.179 H 280.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4F46BC
RGBrgb(79, 70, 188)
HSLhsl(245, 47%, 51%)
HSVhsv(245, 63%, 74%)
CMYKcmyk(58%, 62.8%, 0%, 26.3%)
CIE-LABlab(37.25, 37.58, -61.11)
CIE-LCHlch(37.25, 71.74, 301.59°)
OKLaboklab(47.47% 0.0327 -0.1757)
OKLCHoklch(47.47% 0.179 280.6)
XYZxyz(14.4889, 9.6724, 48.6707)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46BC #B3BC46
analogous
#4678BC #4F46BC #8A46BC
triadic
#4F46BC #BC4F46 #46BC4F
tetradic
#4F46BC #BC4678 #B3BC46 #46BC8A
square
#4F46BC #BC4678 #B3BC46 #46BC8A
split-complementary
#4F46BC #BC8A46 #78BC46
monochromatic
#292464 #3B3490 #4F46BC #7A73CC #A4A0DD

Accessibility & contrast

On white

7.16
#4F46BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F46BC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46BC#FFFFFF#000000##FFFFFF
##4F46BC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#0C637A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f46bc;
/* rgb */ color: rgb(79, 70, 188);
/* oklch */ color: oklch(47.5% 0.179 280.6);
Tailwind
colors: {
  custom: {
    50: '#8b7ad1',
    500: '#4f46bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f46bc;
$custom-light: #8b7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46bc",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 244.576,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47465,
    "c": 0.1787,
    "h": 280.6
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#4F46BC
secondary
#C5C995
accent
#D651CC
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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