#4F48E8#4F48E8

#4F48E8 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.232 H 276.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4F48E8
RGBrgb(79, 72, 232)
HSLhsl(243, 78%, 60%)
HSVhsv(243, 69%, 91%)
CMYKcmyk(65.9%, 69%, 0%, 9%)
CIE-LABlab(41.41, 50.45, -79.67)
CIE-LCHlch(41.41, 94.30, 302.34°)
OKLaboklab(51.62% 0.0262 -0.2301)
OKLCHoklch(51.62% 0.232 276.5)
XYZxyz(20.1025, 12.1214, 77.6086)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F48E8 #E1E848
analogous
#4891E8 #4F48E8 #9F48E8
triadic
#4F48E8 #E84F48 #48E84F
tetradic
#4F48E8 #E84891 #E1E848 #48E89F
square
#4F48E8 #E84891 #E1E848 #48E89F
split-complementary
#4F48E8 #E89F48 #91E848
monochromatic
#1A14A1 #231BD8 #4F48E8 #837EEF #B8B5F6

Accessibility & contrast

On white

6.13
#4F48E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4F48E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F48E8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F48E8#FFFFFF#000000##FFFFFF
##4F48E81.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069ED
Deuteranopia (green-blind)
#005BE5
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f48e8;
/* rgb */ color: rgb(79, 72, 232);
/* oklch */ color: oklch(51.6% 0.232 276.5);
Tailwind
colors: {
  custom: {
    50: '#937cf1',
    500: '#4f48e8',
    950: '#000000',
  },
}
SCSS
$custom: #4f48e8;
$custom-light: #937cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f48e8",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 242.625,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.51624,
    "c": 0.23157,
    "h": 276.5
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#4F48E8
secondary
#E2E5A7
accent
#F434EC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4F48E8

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

Preview Lab → · Contrast checker → · Palette generator →

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