#4B38BE#4B38BE

#4B38BE is a mid, vivid blue. Relative luminance 0.080; OKLCH L 45.1% C 0.198 H 281.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4B38BE
RGBrgb(75, 56, 190)
HSLhsl(249, 54%, 48%)
HSVhsv(249, 71%, 75%)
CMYKcmyk(60.5%, 70.5%, 0%, 25.5%)
CIE-LABlab(34.07, 45.76, -67.50)
CIE-LCHlch(34.07, 81.55, 304.13°)
OKLaboklab(45.14% 0.0391 -0.1945)
OKLCHoklch(45.14% 0.198 281.4)
XYZxyz(13.6072, 8.0409, 49.5402)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38BE #ABBE38
analogous
#3868BE #4B38BE #8E38BE
triadic
#4B38BE #BE4B38 #38BE4B
tetradic
#4B38BE #BE3868 #ABBE38 #38BE8E
square
#4B38BE #BE3868 #ABBE38 #38BE8E
split-complementary
#4B38BE #BE8E38 #68BE38
monochromatic
#261C5F #382A8F #4B38BE #7262D1 #9D92DF

Accessibility & contrast

On white

8.05
#4B38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4B38BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38BE
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38BE#FFFFFF#000000##FFFFFF
##4B38BE1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b38be;
/* rgb */ color: rgb(75, 56, 190);
/* oklch */ color: oklch(45.1% 0.198 281.4);
Tailwind
colors: {
  custom: {
    50: '#8a71d3',
    500: '#4b38be',
    950: '#000000',
  },
}
SCSS
$custom: #4b38be;
$custom-light: #8a71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38be",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 248.507,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45138,
    "c": 0.19844,
    "h": 281.4
  },
  "luminance": 0.08042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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