#4F38CE#4F38CE

#4F38CE is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 47.0% C 0.217 H 281.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4F38CE
RGBrgb(79, 56, 206)
HSLhsl(249, 60%, 51%)
HSVhsv(249, 73%, 81%)
CMYKcmyk(61.7%, 72.8%, 0%, 19.2%)
CIE-LABlab(35.88, 51.16, -73.86)
CIE-LCHlch(35.88, 89.85, 304.71°)
OKLaboklab(46.96% 0.0414 -0.213)
OKLCHoklch(46.96% 0.217 281)
XYZxyz(15.7757, 8.9457, 59.2759)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38CE #B7CE38
analogous
#386CCE #4F38CE #9A38CE
triadic
#4F38CE #CE4F38 #38CE4F
tetradic
#4F38CE #CE386C #B7CE38 #38CE9A
square
#4F38CE #CE386C #B7CE38 #38CE9A
split-complementary
#4F38CE #CE9A38 #6CCE38
monochromatic
#291C70 #3A28A1 #4F38CE #7A69DA #A69AE6

Accessibility & contrast

On white

7.53
#4F38CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4F38CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F38CE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38CE#FFFFFF#000000##FFFFFF
##4F38CE1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#004FCB
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f38ce;
/* rgb */ color: rgb(79, 56, 206);
/* oklch */ color: oklch(47.0% 0.217 281.0);
Tailwind
colors: {
  custom: {
    50: '#8f71de',
    500: '#4f38ce',
    950: '#000000',
  },
}
SCSS
$custom: #4f38ce;
$custom-light: #8f71de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38ce",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 249.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46958,
    "c": 0.21702,
    "h": 281
  },
  "luminance": 0.08947
}

Semantic roles & 50–950 ramp

primary
#4F38CE
secondary
#C8D290
accent
#E444CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F38CE

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

Preview Lab → · Contrast checker → · Palette generator →

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