#4B38BB#4B38BB

#4B38BB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.9% C 0.195 H 281.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4B38BB
RGBrgb(75, 56, 187)
HSLhsl(249, 54%, 48%)
HSVhsv(249, 70%, 73%)
CMYKcmyk(59.9%, 70.1%, 0%, 26.7%)
CIE-LABlab(33.80, 44.83, -66.18)
CIE-LCHlch(33.80, 79.93, 304.11°)
OKLaboklab(44.86% 0.0396 -0.1907)
OKLCHoklch(44.86% 0.195 281.7)
XYZxyz(13.2827, 7.9111, 47.8311)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38BB #A8BB38
analogous
#3867BB #4B38BB #8C38BB
triadic
#4B38BB #BB4B38 #38BB4B
tetradic
#4B38BB #BB3867 #A8BB38 #38BB8C
square
#4B38BB #BB3867 #A8BB38 #38BB8C
split-complementary
#4B38BB #BB8C38 #67BB38
monochromatic
#251C5D #382A8C #4B38BB #7161D0 #9B90DE

Accessibility & contrast

On white

8.13
#4B38BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4B38BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38BB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38BB#FFFFFF#000000##FFFFFF
##4B38BB1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b38bb;
/* rgb */ color: rgb(75, 56, 187);
/* oklch */ color: oklch(44.9% 0.195 281.7);
Tailwind
colors: {
  custom: {
    50: '#8a70d1',
    500: '#4b38bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b38bb;
$custom-light: #8a70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38bb",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 248.702,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44861,
    "c": 0.19475,
    "h": 281.7
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#4B38BB
secondary
#BFC886
accent
#DD4BC8
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4B38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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