#4F38D9#4F38D9

#4F38D9 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 48.0% C 0.230 H 279.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4F38D9
RGBrgb(79, 56, 217)
HSLhsl(249, 68%, 54%)
HSVhsv(249, 74%, 85%)
CMYKcmyk(63.6%, 74.2%, 0%, 14.9%)
CIE-LABlab(36.93, 54.45, -78.49)
CIE-LCHlch(36.93, 95.52, 304.75°)
OKLaboklab(48.02% 0.039 -0.2265)
OKLCHoklch(48.02% 0.23 279.8)
XYZxyz(17.1590, 9.4990, 66.5614)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38D9 #C2D938
analogous
#3872D9 #4F38D9 #9F38D9
triadic
#4F38D9 #D94F38 #38D94F
tetradic
#4F38D9 #D93872 #C2D938 #38D99F
square
#4F38D9 #D93872 #C2D938 #38D99F
split-complementary
#4F38D9 #D99F38 #72D938
monochromatic
#27187E #3722B2 #4F38D9 #7C6BE3 #AA9FED

Accessibility & contrast

On white

7.24
#4F38D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4F38D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F38D9
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38D9#FFFFFF#000000##FFFFFF
##4F38D91.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDE
Deuteranopia (green-blind)
#0051D6
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f38d9;
/* rgb */ color: rgb(79, 56, 217);
/* oklch */ color: oklch(48.0% 0.230 279.8);
Tailwind
colors: {
  custom: {
    50: '#9172e6',
    500: '#4f38d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f38d9;
$custom-light: #9172e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38d9",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 248.571,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48015,
    "c": 0.22987,
    "h": 279.8
  },
  "luminance": 0.095
}

Semantic roles & 50–950 ramp

primary
#4F38D9
secondary
#CFD994
accent
#EB3DD2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4F38D9

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

Preview Lab → · Contrast checker → · Palette generator →

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