#4B38DF#4B38DF

#4B38DF is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.3% C 0.238 H 277.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4B38DF
RGBrgb(75, 56, 223)
HSLhsl(247, 72%, 55%)
HSVhsv(247, 75%, 87%)
CMYKcmyk(66.4%, 74.9%, 0%, 12.5%)
CIE-LABlab(37.21, 55.81, -81.48)
CIE-LCHlch(37.21, 98.76, 304.41°)
OKLaboklab(48.31% 0.0323 -0.2354)
OKLCHoklch(48.31% 0.238 277.8)
XYZxyz(17.6308, 9.6504, 70.7313)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38DF #CCDF38
analogous
#3879DF #4B38DF #9E38DF
triadic
#4B38DF #DF4B38 #38DF4B
tetradic
#4B38DF #DF3879 #CCDF38 #38DF9E
square
#4B38DF #DF3879 #CCDF38 #38DF9E
split-complementary
#4B38DF #DF9E38 #79DF38
monochromatic
#231687 #301EBC #4B38DF #7B6DE7 #AAA1F0

Accessibility & contrast

On white

7.17
#4B38DF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4B38DF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38DF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38DF#FFFFFF#000000##FFFFFF
##4B38DF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.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: #4b38df;
/* rgb */ color: rgb(75, 56, 223);
/* oklch */ color: oklch(48.3% 0.238 277.8);
Tailwind
colors: {
  custom: {
    50: '#9072ea',
    500: '#4b38df',
    950: '#000000',
  },
}
SCSS
$custom: #4b38df;
$custom-light: #9072ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38df",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 223
  },
  "hsl": {
    "h": 246.826,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48309,
    "c": 0.23757,
    "h": 277.8
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#4B38DF
secondary
#D5DD96
accent
#EF39DA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4B38DF

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

Preview Lab → · Contrast checker → · Palette generator →

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