#4B38CA#4B38CA

#4B38CA is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.3% C 0.213 H 279.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4B38CA
RGBrgb(75, 56, 202)
HSLhsl(248, 58%, 51%)
HSVhsv(248, 72%, 79%)
CMYKcmyk(62.9%, 72.3%, 0%, 20.8%)
CIE-LABlab(35.18, 49.45, -72.70)
CIE-LCHlch(35.18, 87.92, 304.22°)
OKLaboklab(46.27% 0.0368 -0.2098)
OKLCHoklch(46.27% 0.213 279.9)
XYZxyz(14.9731, 8.5873, 56.7341)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38CA #B7CA38
analogous
#386ECA #4B38CA #9438CA
triadic
#4B38CA #CA4B38 #38CA4B
tetradic
#4B38CA #CA386E #B7CA38 #38CA94
square
#4B38CA #CA386E #B7CA38 #38CA94
split-complementary
#4B38CA #CA9438 #6ECA38
monochromatic
#271D6B #38299B #4B38CA #7768D7 #A299E4

Accessibility & contrast

On white

7.73
#4B38CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4B38CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38CA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38CA#FFFFFF#000000##FFFFFF
##4B38CA1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b38ca;
/* rgb */ color: rgb(75, 56, 202);
/* oklch */ color: oklch(46.3% 0.213 279.9);
Tailwind
colors: {
  custom: {
    50: '#8c71db',
    500: '#4b38ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b38ca;
$custom-light: #8c71db;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38ca",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 247.808,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46265,
    "c": 0.21296,
    "h": 279.9
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#4B38CA
secondary
#C7CF8E
accent
#E147CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4B38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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