#4F38DD#4F38DD

#4F38DD is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.4% C 0.234 H 279.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4F38DD
RGBrgb(79, 56, 221)
HSLhsl(248, 71%, 54%)
HSVhsv(248, 75%, 87%)
CMYKcmyk(64.3%, 74.7%, 0%, 13.3%)
CIE-LABlab(37.32, 55.64, -80.14)
CIE-LCHlch(37.32, 97.56, 304.77°)
OKLaboklab(48.4% 0.0381 -0.2314)
OKLCHoklch(48.4% 0.234 279.3)
XYZxyz(17.6856, 9.7096, 69.3348)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38DD #C6DD38
analogous
#3873DD #4F38DD #A238DD
triadic
#4F38DD #DD4F38 #38DD4F
tetradic
#4F38DD #DD3873 #C6DD38 #38DDA2
square
#4F38DD #DD3873 #C6DD38 #38DDA2
split-complementary
#4F38DD #DDA238 #73DD38
monochromatic
#261784 #351FB8 #4F38DD #7D6CE6 #ABA1EF

Accessibility & contrast

On white

7.14
#4F38DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4F38DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F38DD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38DD#FFFFFF#000000##FFFFFF
##4F38DD1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE2
Deuteranopia (green-blind)
#0051DA
Tritanopia (blue-blind)
#006888
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f38dd;
/* rgb */ color: rgb(79, 56, 221);
/* oklch */ color: oklch(48.4% 0.234 279.3);
Tailwind
colors: {
  custom: {
    50: '#9272e9',
    500: '#4f38dd',
    950: '#000000',
  },
}
SCSS
$custom: #4f38dd;
$custom-light: #9272e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38dd",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 248.364,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48404,
    "c": 0.23448,
    "h": 279.3
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#4F38DD
secondary
#D2DB95
accent
#EE3AD5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #4F38DD

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

Preview Lab → · Contrast checker → · Palette generator →

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