#4F38CD#4F38CD

#4F38CD is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.9% C 0.216 H 281.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4F38CD
RGBrgb(79, 56, 205)
HSLhsl(249, 60%, 51%)
HSVhsv(249, 73%, 80%)
CMYKcmyk(61.5%, 72.7%, 0%, 19.6%)
CIE-LABlab(35.79, 50.86, -73.43)
CIE-LCHlch(35.79, 89.33, 304.71°)
OKLaboklab(46.86% 0.0416 -0.2118)
OKLCHoklch(46.86% 0.216 281.1)
XYZxyz(15.6546, 8.8972, 58.6382)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38CD #B6CD38
analogous
#386BCD #4F38CD #9938CD
triadic
#4F38CD #CD4F38 #38CD4F
tetradic
#4F38CD #CD386B #B6CD38 #38CD99
square
#4F38CD #CD386B #B6CD38 #38CD99
split-complementary
#4F38CD #CD9938 #6BCD38
monochromatic
#291C6F #3B28A0 #4F38CD #7A69D9 #A69AE6

Accessibility & contrast

On white

7.56
#4F38CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4F38CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F38CD
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38CD#FFFFFF#000000##FFFFFF
##4F38CD1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#00617F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f38cd;
/* rgb */ color: rgb(79, 56, 205);
/* oklch */ color: oklch(46.9% 0.216 281.1);
Tailwind
colors: {
  custom: {
    50: '#8f71de',
    500: '#4f38cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f38cd;
$custom-light: #8f71de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38cd",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 249.262,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46863,
    "c": 0.21584,
    "h": 281.1
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#4F38CD
secondary
#C7D18F
accent
#E345CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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