#4F38C9#4F38C9

#4F38C9 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.5% C 0.211 H 281.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4F38C9
RGBrgb(79, 56, 201)
HSLhsl(250, 57%, 50%)
HSVhsv(250, 72%, 79%)
CMYKcmyk(60.7%, 72.1%, 0%, 21.2%)
CIE-LABlab(35.41, 49.66, -71.72)
CIE-LCHlch(35.41, 87.23, 304.70°)
OKLaboklab(46.49% 0.0425 -0.2068)
OKLCHoklch(46.49% 0.211 281.6)
XYZxyz(15.1779, 8.7066, 56.1277)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38C9 #B2C938
analogous
#386AC9 #4F38C9 #9738C9
triadic
#4F38C9 #C94F38 #38C94F
tetradic
#4F38C9 #C9386A #B2C938 #38C997
square
#4F38C9 #C9386A #B2C938 #38C997
split-complementary
#4F38C9 #C99738 #6AC938
monochromatic
#291D6A #3C2A9A #4F38C9 #7A68D6 #A498E3

Accessibility & contrast

On white

7.66
#4F38C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4F38C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F38C9
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38C9#FFFFFF#000000##FFFFFF
##4F38C91.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f38c9;
/* rgb */ color: rgb(79, 56, 201);
/* oklch */ color: oklch(46.5% 0.211 281.6);
Tailwind
colors: {
  custom: {
    50: '#8e71db',
    500: '#4f38c9',
    950: '#000000',
  },
}
SCSS
$custom: #4f38c9;
$custom-light: #8e71db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38c9",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 249.517,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.21109,
    "h": 281.6
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#4F38C9
secondary
#C4CF8E
accent
#E147C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F38C9

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

Preview Lab → · Contrast checker → · Palette generator →

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