#4F38C4#4F38C4

#4F38C4 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.0% C 0.205 H 282.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4F38C4
RGBrgb(79, 56, 196)
HSLhsl(250, 56%, 49%)
HSVhsv(250, 71%, 77%)
CMYKcmyk(59.7%, 71.4%, 0%, 23.1%)
CIE-LABlab(34.95, 48.15, -69.56)
CIE-LCHlch(34.95, 84.59, 304.69°)
OKLaboklab(46.02% 0.0435 -0.2004)
OKLCHoklch(46.02% 0.205 282.2)
XYZxyz(14.5993, 8.4751, 53.0804)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38C4 #ADC438
analogous
#3867C4 #4F38C4 #9538C4
triadic
#4F38C4 #C44F38 #38C44F
tetradic
#4F38C4 #C43867 #ADC438 #38C495
square
#4F38C4 #C43867 #ADC438 #38C495
split-complementary
#4F38C4 #C49538 #67C438
monochromatic
#291D65 #3C2A94 #4F38C4 #7866D3 #A296E1

Accessibility & contrast

On white

7.79
#4F38C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4F38C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F38C4
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38C4#FFFFFF#000000##FFFFFF
##4F38C41.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f38c4;
/* rgb */ color: rgb(79, 56, 196);
/* oklch */ color: oklch(46.0% 0.205 282.2);
Tailwind
colors: {
  custom: {
    50: '#8d71d7',
    500: '#4f38c4',
    950: '#000000',
  },
}
SCSS
$custom: #4f38c4;
$custom-light: #8d71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38c4",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 249.857,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4602,
    "c": 0.2051,
    "h": 282.2
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#4F38C4
secondary
#C2CC8C
accent
#DF49C6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4F38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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