#4F46DA#4F46DA

#4F46DA is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.1% C 0.217 H 277.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4F46DA
RGBrgb(79, 70, 218)
HSLhsl(244, 67%, 56%)
HSVhsv(244, 68%, 85%)
CMYKcmyk(63.8%, 67.9%, 0%, 14.5%)
CIE-LABlab(39.75, 47.16, -74.41)
CIE-LCHlch(39.75, 88.10, 302.37°)
OKLaboklab(50.06% 0.0295 -0.2147)
OKLCHoklch(50.06% 0.217 277.8)
XYZxyz(18.0654, 11.1031, 67.5072)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46DA #D1DA46
analogous
#4687DA #4F46DA #9946DA
triadic
#4F46DA #DA4F46 #46DA4F
tetradic
#4F46DA #DA4687 #D1DA46 #46DA99
square
#4F46DA #DA4687 #D1DA46 #46DA99
split-complementary
#4F46DA #DA9946 #87DA46
monochromatic
#221C8A #2F26BD #4F46DA #8079E4 #B0ACEE

Accessibility & contrast

On white

6.52
#4F46DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4F46DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46DA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46DA#FFFFFF#000000##FFFFFF
##4F46DA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DF
Deuteranopia (green-blind)
#0057D7
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f46da;
/* rgb */ color: rgb(79, 70, 218);
/* oklch */ color: oklch(50.1% 0.217 277.8);
Tailwind
colors: {
  custom: {
    50: '#907be7',
    500: '#4f46da',
    950: '#000000',
  },
}
SCSS
$custom: #4f46da;
$custom-light: #907be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46da",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 243.649,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50056,
    "c": 0.21671,
    "h": 277.8
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#4F46DA
secondary
#D9DCA0
accent
#EA3EDF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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