#4D38DF#4D38DF

#4D38DF is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.5% C 0.237 H 278.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4D38DF
RGBrgb(77, 56, 223)
HSLhsl(248, 72%, 55%)
HSVhsv(248, 75%, 87%)
CMYKcmyk(65.5%, 74.9%, 0%, 12.5%)
CIE-LABlab(37.36, 56.02, -81.22)
CIE-LCHlch(37.36, 98.67, 304.59°)
OKLaboklab(48.45% 0.0349 -0.2346)
OKLCHoklch(48.45% 0.237 278.5)
XYZxyz(17.7897, 9.7323, 70.7388)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D38DF #CADF38
analogous
#3877DF #4D38DF #A138DF
triadic
#4D38DF #DF4D38 #38DF4D
tetradic
#4D38DF #DF3877 #CADF38 #38DFA1
square
#4D38DF #DF3877 #CADF38 #38DFA1
split-complementary
#4D38DF #DFA138 #77DF38
monochromatic
#241687 #321EBC #4D38DF #7C6DE7 #ABA1F0

Accessibility & contrast

On white

7.13
#4D38DF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4D38DF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D38DF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D38DF#FFFFFF#000000##FFFFFF
##4D38DF1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE4
Deuteranopia (green-blind)
#0051DC
Tritanopia (blue-blind)
#006989
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d38df;
/* rgb */ color: rgb(77, 56, 223);
/* oklch */ color: oklch(48.5% 0.237 278.5);
Tailwind
colors: {
  custom: {
    50: '#9172ea',
    500: '#4d38df',
    950: '#000000',
  },
}
SCSS
$custom: #4d38df;
$custom-light: #9172ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d38df",
  "rgb": {
    "r": 77,
    "g": 56,
    "b": 223
  },
  "hsl": {
    "h": 247.545,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48453,
    "c": 0.23716,
    "h": 278.5
  },
  "luminance": 0.09734
}

Semantic roles & 50–950 ramp

primary
#4D38DF
secondary
#D4DD96
accent
#EF39D8
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #4D38DF

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

Preview Lab → · Contrast checker → · Palette generator →

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