#4F41EA#4F41EA

#4F41EA is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.8% C 0.241 H 277.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4F41EA
RGBrgb(79, 65, 234)
HSLhsl(245, 80%, 59%)
HSVhsv(245, 72%, 92%)
CMYKcmyk(66.2%, 72.2%, 0%, 8.2%)
CIE-LABlab(40.22, 54.89, -82.77)
CIE-LCHlch(40.22, 99.32, 303.55°)
OKLaboklab(50.83% 0.0301 -0.2391)
OKLCHoklch(50.83% 0.241 277.2)
XYZxyz(19.9612, 11.3816, 78.9709)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41EA #DCEA41
analogous
#4187EA #4F41EA #A341EA
triadic
#4F41EA #EA4F41 #41EA4F
tetradic
#4F41EA #EA4187 #DCEA41 #41EAA3
square
#4F41EA #EA4187 #DCEA41 #41EAA3
split-complementary
#4F41EA #EAA341 #87EA41
monochromatic
#1D129F #2718D6 #4F41EA #8278F0 #B5AFF6

Accessibility & contrast

On white

6.41
#4F41EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4F41EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F41EA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41EA#FFFFFF#000000##FFFFFF
##4F41EA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EF
Deuteranopia (green-blind)
#0058E7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f41ea;
/* rgb */ color: rgb(79, 65, 234);
/* oklch */ color: oklch(50.8% 0.241 277.2);
Tailwind
colors: {
  custom: {
    50: '#9478f2',
    500: '#4f41ea',
    950: '#000000',
  },
}
SCSS
$custom: #4f41ea;
$custom-light: #9478f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41ea",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 244.97,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50829,
    "c": 0.24099,
    "h": 277.2
  },
  "luminance": 0.11383
}

Semantic roles & 50–950 ramp

primary
#4F41EA
secondary
#DFE5A2
accent
#F731E6
background
#FAF7FF
surface
#F3EDFE
border
#CDC8D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4F41EA

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

Preview Lab → · Contrast checker → · Palette generator →

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