#4F38C5#4F38C5

#4F38C5 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.206 H 282.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4F38C5
RGBrgb(79, 56, 197)
HSLhsl(250, 56%, 50%)
HSVhsv(250, 72%, 77%)
CMYKcmyk(59.9%, 71.6%, 0%, 22.7%)
CIE-LABlab(35.04, 48.45, -69.99)
CIE-LCHlch(35.04, 85.12, 304.69°)
OKLaboklab(46.11% 0.0433 -0.2017)
OKLCHoklch(46.11% 0.206 282.1)
XYZxyz(14.7135, 8.5208, 53.6818)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38C5 #AEC538
analogous
#3868C5 #4F38C5 #9538C5
triadic
#4F38C5 #C54F38 #38C54F
tetradic
#4F38C5 #C53868 #AEC538 #38C595
square
#4F38C5 #C53868 #AEC538 #38C595
split-complementary
#4F38C5 #C59538 #68C538
monochromatic
#291D66 #3C2A95 #4F38C5 #7867D4 #A296E1

Accessibility & contrast

On white

7.77
#4F38C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F38C5
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38C5#FFFFFF#000000##FFFFFF
##4F38C51.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004DC2
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f38c5;
/* rgb */ color: rgb(79, 56, 197);
/* oklch */ color: oklch(46.1% 0.206 282.1);
Tailwind
colors: {
  custom: {
    50: '#8e71d8',
    500: '#4f38c5',
    950: '#000000',
  },
}
SCSS
$custom: #4f38c5;
$custom-light: #8e71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38c5",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 249.787,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46112,
    "c": 0.20631,
    "h": 282.1
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#4F38C5
secondary
#C2CD8C
accent
#DF49C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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