#4B38BF#4B38BF

#4B38BF is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.2% C 0.200 H 281.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4B38BF
RGBrgb(75, 56, 191)
HSLhsl(248, 55%, 48%)
HSVhsv(248, 71%, 75%)
CMYKcmyk(60.7%, 70.7%, 0%, 25.1%)
CIE-LABlab(34.16, 46.06, -67.94)
CIE-LCHlch(34.16, 82.08, 304.14°)
OKLaboklab(45.23% 0.0389 -0.1958)
OKLCHoklch(45.23% 0.2 281.2)
XYZxyz(13.7168, 8.0848, 50.1178)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38BF #ACBF38
analogous
#3869BF #4B38BF #8E38BF
triadic
#4B38BF #BF4B38 #38BF4B
tetradic
#4B38BF #BF3869 #ACBF38 #38BF8E
square
#4B38BF #BF3869 #ACBF38 #38BF8E
split-complementary
#4B38BF #BF8E38 #69BF38
monochromatic
#261C60 #382A90 #4B38BF #7263D1 #9D92DF

Accessibility & contrast

On white

8.02
#4B38BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4B38BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38BF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38BF#FFFFFF#000000##FFFFFF
##4B38BF1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4b38bf;
/* rgb */ color: rgb(75, 56, 191);
/* oklch */ color: oklch(45.2% 0.200 281.2);
Tailwind
colors: {
  custom: {
    50: '#8a71d3',
    500: '#4b38bf',
    950: '#000000',
  },
}
SCSS
$custom: #4b38bf;
$custom-light: #8a71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38bf",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 248.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4523,
    "c": 0.19967,
    "h": 281.2
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#4B38BF
secondary
#C1CA89
accent
#DE4AC9
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4B38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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