#4F48EC#4F48EC

#4F48EC is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.0% C 0.236 H 276.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4F48EC
RGBrgb(79, 72, 236)
HSLhsl(243, 81%, 60%)
HSVhsv(243, 69%, 93%)
CMYKcmyk(66.5%, 69.5%, 0%, 7.5%)
CIE-LABlab(41.77, 51.71, -81.34)
CIE-LCHlch(41.77, 96.39, 302.44°)
OKLaboklab(51.99% 0.0256 -0.235)
OKLCHoklch(51.99% 0.236 276.2)
XYZxyz(20.6772, 12.3513, 80.6350)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48EC #E5EC48
analogous
#4893EC #4F48EC #A148EC
triadic
#4F48EC #EC4F48 #48EC4F
tetradic
#4F48EC #EC4893 #E5EC48 #48ECA1
square
#4F48EC #EC4893 #E5EC48 #48ECA1
split-complementary
#4F48EC #ECA148 #93EC48
monochromatic
#1811A8 #2017E0 #4F48EC #847FF2 #BAB7F8

Accessibility & contrast

On white

6.05
#4F48EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4F48EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48EC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48EC#FFFFFF#000000##FFFFFF
##4F48EC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF1
Deuteranopia (green-blind)
#005BE9
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f48ec;
/* rgb */ color: rgb(79, 72, 236);
/* oklch */ color: oklch(52.0% 0.236 276.2);
Tailwind
colors: {
  custom: {
    50: '#937df3',
    500: '#4f48ec',
    950: '#000000',
  },
}
SCSS
$custom: #4f48ec;
$custom-light: #937df3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48ec",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 236
  },
  "hsl": {
    "h": 242.561,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.23636,
    "h": 276.2
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#4F48EC
secondary
#E5E7A9
accent
#DE08D4
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #4F48EC

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

Preview Lab → · Contrast checker → · Palette generator →

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