#4F41E2#4F41E2

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

Color values

HEX#4F41E2
RGBrgb(79, 65, 226)
HSLhsl(245, 74%, 57%)
HSVhsv(245, 71%, 89%)
CMYKcmyk(65%, 71.2%, 0%, 11.4%)
CIE-LABlab(39.47, 52.44, -79.46)
CIE-LCHlch(39.47, 95.20, 303.42°)
OKLaboklab(50.07% 0.0316 -0.2294)
OKLCHoklch(50.07% 0.232 277.8)
XYZxyz(18.8378, 10.9323, 73.0542)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41E2 #D4E241
analogous
#4184E2 #4F41E2 #9F41E2
triadic
#4F41E2 #E24F41 #41E24F
tetradic
#4F41E2 #E24184 #D4E241 #41E29F
square
#4F41E2 #E24184 #D4E241 #41E29F
split-complementary
#4F41E2 #E29F41 #84E241
monochromatic
#211692 #2D1EC7 #4F41E2 #8076EA #B1ABF2

Accessibility & contrast

On white

6.59
#4F41E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4F41E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F41E2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41E2#FFFFFF#000000##FFFFFF
##4F41E21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f41e2;
/* rgb */ color: rgb(79, 65, 226);
/* oklch */ color: oklch(50.1% 0.232 277.8);
Tailwind
colors: {
  custom: {
    50: '#9278ec',
    500: '#4f41e2',
    950: '#000000',
  },
}
SCSS
$custom: #4f41e2;
$custom-light: #9278ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41e2",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 245.217,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.23159,
    "h": 277.8
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#4F41E2
secondary
#DAE09F
accent
#F038E0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #4F41E2

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

Preview Lab → · Contrast checker → · Palette generator →

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