#4B38CE#4B38CE

#4B38CE is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.6% C 0.218 H 279.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4B38CE
RGBrgb(75, 56, 206)
HSLhsl(248, 60%, 51%)
HSVhsv(248, 73%, 81%)
CMYKcmyk(63.6%, 72.8%, 0%, 19.2%)
CIE-LABlab(35.56, 50.67, -74.40)
CIE-LCHlch(35.56, 90.02, 304.26°)
OKLaboklab(46.65% 0.036 -0.2147)
OKLCHoklch(46.65% 0.218 279.5)
XYZxyz(15.4528, 8.7792, 59.2608)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38CE #BBCE38
analogous
#3870CE #4B38CE #9638CE
triadic
#4B38CE #CE4B38 #38CE4B
tetradic
#4B38CE #CE3870 #BBCE38 #38CE96
square
#4B38CE #CE3870 #BBCE38 #38CE96
split-complementary
#4B38CE #CE9638 #70CE38
monochromatic
#261C70 #3728A1 #4B38CE #7769DA #A49AE6

Accessibility & contrast

On white

7.62
#4B38CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4B38CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38CE
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38CE#FFFFFF#000000##FFFFFF
##4B38CE1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D2
Deuteranopia (green-blind)
#004ECB
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4b38ce;
/* rgb */ color: rgb(75, 56, 206);
/* oklch */ color: oklch(46.6% 0.218 279.5);
Tailwind
colors: {
  custom: {
    50: '#8d71de',
    500: '#4b38ce',
    950: '#000000',
  },
}
SCSS
$custom: #4b38ce;
$custom-light: #8d71de;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38ce",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 247.6,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46647,
    "c": 0.21772,
    "h": 279.5
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#4B38CE
secondary
#CAD290
accent
#E444CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4B38CE

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

Preview Lab → · Contrast checker → · Palette generator →

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