#4F46CA#4F46CA

#4F46CA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.197 H 279.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4F46CA
RGBrgb(79, 70, 202)
HSLhsl(244, 55%, 53%)
HSVhsv(244, 65%, 79%)
CMYKcmyk(60.9%, 65.3%, 0%, 20.8%)
CIE-LABlab(38.39, 42.07, -67.43)
CIE-LCHlch(38.39, 79.48, 301.96°)
OKLaboklab(48.65% 0.0315 -0.1942)
OKLCHoklch(48.65% 0.197 279.2)
XYZxyz(16.0719, 10.3057, 57.0079)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46CA #C1CA46
analogous
#467FCA #4F46CA #9146CA
triadic
#4F46CA #CA4F46 #46CA4F
tetradic
#4F46CA #CA467F #C1CA46 #46CA91
square
#4F46CA #CA467F #C1CA46 #46CA91
split-complementary
#4F46CA #CA9146 #7FCA46
monochromatic
#272174 #372FA4 #4F46CA #7C76D8 #AAA5E5

Accessibility & contrast

On white

6.86
#4F46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4F46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46CA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46CA#FFFFFF#000000##FFFFFF
##4F46CA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f46ca;
/* rgb */ color: rgb(79, 70, 202);
/* oklch */ color: oklch(48.6% 0.197 279.2);
Tailwind
colors: {
  custom: {
    50: '#8d7adb',
    500: '#4f46ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f46ca;
$custom-light: #8d7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46ca",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 244.091,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48647,
    "c": 0.19675,
    "h": 279.2
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#4F46CA
secondary
#CED29A
accent
#DF49D5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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