#4B38E1#4B38E1

#4B38E1 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.5% C 0.240 H 277.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4B38E1
RGBrgb(75, 56, 225)
HSLhsl(247, 74%, 55%)
HSVhsv(247, 75%, 88%)
CMYKcmyk(66.7%, 75.1%, 0%, 11.8%)
CIE-LABlab(37.41, 56.41, -82.29)
CIE-LCHlch(37.41, 99.77, 304.43°)
OKLaboklab(48.51% 0.0318 -0.2377)
OKLCHoklch(48.51% 0.24 277.6)
XYZxyz(17.9020, 9.7589, 72.1598)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38E1 #CEE138
analogous
#3879E1 #4B38E1 #A038E1
triadic
#4B38E1 #E14B38 #38E14B
tetradic
#4B38E1 #E13879 #CEE138 #38E1A0
square
#4B38E1 #E13879 #CEE138 #38E1A0
split-complementary
#4B38E1 #E1A038 #79E138
monochromatic
#22158A #2F1DBF #4B38E1 #7B6DE9 #ABA2F1

Accessibility & contrast

On white

7.11
#4B38E1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B38E1
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38E1#FFFFFF#000000##FFFFFF
##4B38E11.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE6
Deuteranopia (green-blind)
#0051DE
Tritanopia (blue-blind)
#00698B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4b38e1;
/* rgb */ color: rgb(75, 56, 225);
/* oklch */ color: oklch(48.5% 0.240 277.6);
Tailwind
colors: {
  custom: {
    50: '#9172ec',
    500: '#4b38e1',
    950: '#000000',
  },
}
SCSS
$custom: #4b38e1;
$custom-light: #9172ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38e1",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 225
  },
  "hsl": {
    "h": 246.746,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48508,
    "c": 0.23987,
    "h": 277.6
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#4B38E1
secondary
#D6DE97
accent
#F037DC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #4B38E1

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

Preview Lab → · Contrast checker → · Palette generator →

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