#4B38C4#4B38C4

#4B38C4 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.206 H 280.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4B38C4
RGBrgb(75, 56, 196)
HSLhsl(248, 56%, 49%)
HSVhsv(248, 71%, 77%)
CMYKcmyk(61.7%, 71.4%, 0%, 23.1%)
CIE-LABlab(34.62, 47.61, -70.12)
CIE-LCHlch(34.62, 84.75, 304.17°)
OKLaboklab(45.7% 0.038 -0.2022)
OKLCHoklch(45.7% 0.206 280.6)
XYZxyz(14.2765, 8.3087, 53.0653)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38C4 #B1C438
analogous
#386BC4 #4B38C4 #9138C4
triadic
#4B38C4 #C44B38 #38C44B
tetradic
#4B38C4 #C4386B #B1C438 #38C491
square
#4B38C4 #C4386B #B1C438 #38C491
split-complementary
#4B38C4 #C49138 #6BC438
monochromatic
#271D65 #392A94 #4B38C4 #7566D3 #A096E1

Accessibility & contrast

On white

7.89
#4B38C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4B38C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38C4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38C4#FFFFFF#000000##FFFFFF
##4B38C41.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4b38c4;
/* rgb */ color: rgb(75, 56, 196);
/* oklch */ color: oklch(45.7% 0.206 280.6);
Tailwind
colors: {
  custom: {
    50: '#8b71d7',
    500: '#4b38c4',
    950: '#000000',
  },
}
SCSS
$custom: #4b38c4;
$custom-light: #8b71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38c4",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 248.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45697,
    "c": 0.20574,
    "h": 280.6
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#4B38C4
secondary
#C3CC8C
accent
#DF49CB
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4B38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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