#4F46CC#4F46CC

#4F46CC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.8% C 0.199 H 279.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4F46CC
RGBrgb(79, 70, 204)
HSLhsl(244, 57%, 54%)
HSVhsv(244, 66%, 80%)
CMYKcmyk(61.3%, 65.7%, 0%, 20%)
CIE-LABlab(38.55, 42.71, -68.31)
CIE-LCHlch(38.55, 80.57, 302.01°)
OKLaboklab(48.82% 0.0313 -0.1968)
OKLCHoklch(48.82% 0.199 279)
XYZxyz(16.3102, 10.4010, 58.2631)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F46CC #C3CC46
analogous
#4680CC #4F46CC #9246CC
triadic
#4F46CC #CC4F46 #46CC4F
tetradic
#4F46CC #CC4680 #C3CC46 #46CC92
square
#4F46CC #CC4680 #C3CC46 #46CC92
split-complementary
#4F46CC #CC9246 #80CC46
monochromatic
#272177 #362EA7 #4F46CC #7D76D9 #AAA6E6

Accessibility & contrast

On white

6.82
#4F46CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4F46CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F46CC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F46CC#FFFFFF#000000##FFFFFF
##4F46CC1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f46cc;
/* rgb */ color: rgb(79, 70, 204);
/* oklch */ color: oklch(48.8% 0.199 279.0);
Tailwind
colors: {
  custom: {
    50: '#8e7add',
    500: '#4f46cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f46cc;
$custom-light: #8e7add;
$custom-dark: #000000;
JSON
{
  "hex": "#4f46cc",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 244.03,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.19929,
    "h": 279
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#4F46CC
secondary
#D0D49A
accent
#E048D6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4F46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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