#4B38CF#4B38CF

#4B38CF is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.7% C 0.219 H 279.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4B38CF
RGBrgb(75, 56, 207)
HSLhsl(248, 61%, 52%)
HSVhsv(248, 73%, 81%)
CMYKcmyk(63.8%, 72.9%, 0%, 18.8%)
CIE-LABlab(35.65, 50.98, -74.83)
CIE-LCHlch(35.65, 90.54, 304.26°)
OKLaboklab(46.74% 0.0358 -0.216)
OKLCHoklch(46.74% 0.219 279.4)
XYZxyz(15.5747, 8.8280, 59.9026)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38CF #BCCF38
analogous
#3871CF #4B38CF #9738CF
triadic
#4B38CF #CF4B38 #38CF4B
tetradic
#4B38CF #CF3871 #BCCF38 #38CF97
square
#4B38CF #CF3871 #BCCF38 #38CF97
split-complementary
#4B38CF #CF9738 #71CF38
monochromatic
#261B71 #3727A3 #4B38CF #7869DB #A49BE7

Accessibility & contrast

On white

7.59
#4B38CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4B38CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38CF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38CF#FFFFFF#000000##FFFFFF
##4B38CF1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b38cf;
/* rgb */ color: rgb(75, 56, 207);
/* oklch */ color: oklch(46.7% 0.219 279.4);
Tailwind
colors: {
  custom: {
    50: '#8d71df',
    500: '#4b38cf',
    950: '#000000',
  },
}
SCSS
$custom: #4b38cf;
$custom-light: #8d71df;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38cf",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 247.55,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46744,
    "c": 0.21891,
    "h": 279.4
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#4B38CF
secondary
#CAD390
accent
#E444D0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4B38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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