#4B38D9#4B38D9

#4B38D9 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.7% C 0.231 H 278.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4B38D9
RGBrgb(75, 56, 217)
HSLhsl(247, 68%, 54%)
HSVhsv(247, 74%, 85%)
CMYKcmyk(65.4%, 74.2%, 0%, 14.9%)
CIE-LABlab(36.62, 54.01, -79.01)
CIE-LCHlch(36.62, 95.70, 304.36°)
OKLaboklab(47.72% 0.0336 -0.2282)
OKLCHoklch(47.72% 0.231 278.4)
XYZxyz(16.8362, 9.3325, 66.5463)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38D9 #C6D938
analogous
#3875D9 #4B38D9 #9B38D9
triadic
#4B38D9 #D94B38 #38D94B
tetradic
#4B38D9 #D93875 #C6D938 #38D99B
square
#4B38D9 #D93875 #C6D938 #38D99B
split-complementary
#4B38D9 #D99B38 #75D938
monochromatic
#24187E #3322B2 #4B38D9 #796BE3 #A89FED

Accessibility & contrast

On white

7.33
#4B38D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4B38D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38D9
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38D9#FFFFFF#000000##FFFFFF
##4B38D91.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDE
Deuteranopia (green-blind)
#0050D6
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4b38d9;
/* rgb */ color: rgb(75, 56, 217);
/* oklch */ color: oklch(47.7% 0.231 278.4);
Tailwind
colors: {
  custom: {
    50: '#8f72e6',
    500: '#4b38d9',
    950: '#000000',
  },
}
SCSS
$custom: #4b38d9;
$custom-light: #8f72e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38d9",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 247.081,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.23064,
    "h": 278.4
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#4B38D9
secondary
#D1D994
accent
#EB3DD6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4B38D9

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

Preview Lab → · Contrast checker → · Palette generator →

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