#4F38D0#4F38D0

#4F38D0 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.1% C 0.219 H 280.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#4F38D0
RGBrgb(79, 56, 208)
HSLhsl(249, 62%, 52%)
HSVhsv(249, 73%, 82%)
CMYKcmyk(62%, 73.1%, 0%, 18.4%)
CIE-LABlab(36.07, 51.76, -74.71)
CIE-LCHlch(36.07, 90.89, 304.72°)
OKLaboklab(47.15% 0.041 -0.2155)
OKLCHoklch(47.15% 0.219 280.8)
XYZxyz(16.0202, 9.0435, 60.5636)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38D0 #B9D038
analogous
#386DD0 #4F38D0 #9B38D0
triadic
#4F38D0 #D04F38 #38D04F
tetradic
#4F38D0 #D0386D #B9D038 #38D09B
square
#4F38D0 #D0386D #B9D038 #38D09B
split-complementary
#4F38D0 #D09B38 #6DD038
monochromatic
#281B73 #3A27A4 #4F38D0 #7B6ADC #A79BE7

Accessibility & contrast

On white

7.48
#4F38D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4F38D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F38D0
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38D0#FFFFFF#000000##FFFFFF
##4F38D01.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#004FCD
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f38d0;
/* rgb */ color: rgb(79, 56, 208);
/* oklch */ color: oklch(47.1% 0.219 280.8);
Tailwind
colors: {
  custom: {
    50: '#8f72e0',
    500: '#4f38d0',
    950: '#000000',
  },
}
SCSS
$custom: #4f38d0;
$custom-light: #8f72e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38d0",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 249.079,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47148,
    "c": 0.21937,
    "h": 280.8
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#4F38D0
secondary
#C9D391
accent
#E543CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F38D0

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

Preview Lab → · Contrast checker → · Palette generator →

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