#4F4EEC#4F4EEC

#4F4EEC is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.9% C 0.230 H 275.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4F4EEC
RGBrgb(79, 78, 236)
HSLhsl(240, 81%, 62%)
HSVhsv(240, 67%, 93%)
CMYKcmyk(66.5%, 66.9%, 0%, 7.5%)
CIE-LABlab(43.01, 48.32, -79.30)
CIE-LCHlch(43.01, 92.86, 301.35°)
OKLaboklab(52.89% 0.0217 -0.229)
OKLCHoklch(52.89% 0.23 275.4)
XYZxyz(21.0842, 13.1653, 80.7706)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4EEC #EBEC4E
analogous
#4E9CEC #4F4EEC #9E4EEC
triadic
#4F4EEC #EC4F4E #4EEC4F
tetradic
#4F4EEC #EC4E9C #EBEC4E #4EEC9E
square
#4F4EEC #EC4E9C #EBEC4E #4EEC9E
split-complementary
#4F4EEC #EC9E4E #9CEC4E
monochromatic
#1413AD #1A19E4 #4F4EEC #8685F2 #BDBDF8

Accessibility & contrast

On white

5.78
#4F4EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4F4EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4EEC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4EEC#FFFFFF#000000##FFFFFF
##4F4EEC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#005EE9
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f4eec;
/* rgb */ color: rgb(79, 78, 236);
/* oklch */ color: oklch(52.9% 0.230 275.4);
Tailwind
colors: {
  custom: {
    50: '#9380f3',
    500: '#4f4eec',
    950: '#000000',
  },
}
SCSS
$custom: #4f4eec;
$custom-light: #9380f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4eec",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 240.38,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.23004,
    "h": 275.4
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#4F4EEC
secondary
#E8E8AE
accent
#DD09DC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4F4EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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