#4F45E5#4F45E5

#4F45E5 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.231 H 277.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4F45E5
RGBrgb(79, 69, 229)
HSLhsl(244, 75%, 58%)
HSVhsv(244, 70%, 90%)
CMYKcmyk(65.5%, 69.9%, 0%, 10.2%)
CIE-LABlab(40.53, 51.18, -79.41)
CIE-LCHlch(40.53, 94.48, 302.80°)
OKLaboklab(50.91% 0.0285 -0.2293)
OKLCHoklch(50.91% 0.231 277.1)
XYZxyz(19.4908, 11.5740, 75.3204)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45E5 #DBE545
analogous
#458BE5 #4F45E5 #9F45E5
triadic
#4F45E5 #E54F45 #45E54F
tetradic
#4F45E5 #E5458B #DBE545 #45E59F
square
#4F45E5 #E5458B #DBE545 #45E59F
split-complementary
#4F45E5 #E59F45 #8BE545
monochromatic
#1E169A #281DD0 #4F45E5 #827BED #B5B0F4

Accessibility & contrast

On white

6.33
#4F45E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4F45E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45E5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45E5#FFFFFF#000000##FFFFFF
##4F45E51.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EA
Deuteranopia (green-blind)
#0059E2
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f45e5;
/* rgb */ color: rgb(79, 69, 229);
/* oklch */ color: oklch(50.9% 0.231 277.1);
Tailwind
colors: {
  custom: {
    50: '#927aef',
    500: '#4f45e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f45e5;
$custom-light: #927aef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45e5",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 243.75,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50913,
    "c": 0.23109,
    "h": 277.1
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#4F45E5
secondary
#DFE3A3
accent
#F236E6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4F45E5

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

Preview Lab → · Contrast checker → · Palette generator →

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