#4F38D7#4F38D7

#4F38D7 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.8% C 0.228 H 280.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4F38D7
RGBrgb(79, 56, 215)
HSLhsl(249, 67%, 53%)
HSVhsv(249, 74%, 84%)
CMYKcmyk(63.3%, 74%, 0%, 15.7%)
CIE-LABlab(36.74, 53.86, -77.65)
CIE-LCHlch(36.74, 94.50, 304.74°)
OKLaboklab(47.82% 0.0394 -0.2241)
OKLCHoklch(47.82% 0.228 280)
XYZxyz(16.9005, 9.3956, 65.1997)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38D7 #C0D738
analogous
#3870D7 #4F38D7 #9E38D7
triadic
#4F38D7 #D74F38 #38D74F
tetradic
#4F38D7 #D73870 #C0D738 #38D79E
square
#4F38D7 #D73870 #C0D738 #38D79E
split-complementary
#4F38D7 #D79E38 #70D738
monochromatic
#27197C #3723AF #4F38D7 #7C6BE1 #A99EEB

Accessibility & contrast

On white

7.29
#4F38D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4F38D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F38D7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38D7#FFFFFF#000000##FFFFFF
##4F38D71.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#0050D4
Tritanopia (blue-blind)
#006585
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f38d7;
/* rgb */ color: rgb(79, 56, 215);
/* oklch */ color: oklch(47.8% 0.228 280.0);
Tailwind
colors: {
  custom: {
    50: '#9172e5',
    500: '#4f38d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f38d7;
$custom-light: #9172e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38d7",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 215
  },
  "hsl": {
    "h": 248.679,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47821,
    "c": 0.22755,
    "h": 280
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#4F38D7
secondary
#CED893
accent
#E93ED1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4F38D7

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

Preview Lab → · Contrast checker → · Palette generator →

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