#4B38B2#4B38B2

#4B38B2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.184 H 282.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4B38B2
RGBrgb(75, 56, 178)
HSLhsl(249, 52%, 46%)
HSVhsv(249, 69%, 70%)
CMYKcmyk(57.9%, 68.5%, 0%, 30.2%)
CIE-LABlab(33.00, 42.03, -62.15)
CIE-LCHlch(33.00, 75.03, 304.07°)
OKLaboklab(44.05% 0.0411 -0.1789)
OKLCHoklch(44.05% 0.184 282.9)
XYZxyz(12.3492, 7.5378, 42.9150)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38B2 #9FB238
analogous
#3862B2 #4B38B2 #8838B2
triadic
#4B38B2 #B24B38 #38B24B
tetradic
#4B38B2 #B23862 #9FB238 #38B288
square
#4B38B2 #B23862 #9FB238 #38B288
split-complementary
#4B38B2 #B28838 #62B238
monochromatic
#241B55 #372983 #4B38B2 #6D5CCC #978ADA

Accessibility & contrast

On white

8.37
#4B38B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4B38B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B38B2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38B2#FFFFFF#000000##FFFFFF
##4B38B21.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#115870
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b38b2;
/* rgb */ color: rgb(75, 56, 178);
/* oklch */ color: oklch(44.0% 0.184 282.9);
Tailwind
colors: {
  custom: {
    50: '#8870ca',
    500: '#4b38b2',
    950: '#000000',
  },
}
SCSS
$custom: #4b38b2;
$custom-light: #8870ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38b2",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 249.344,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44046,
    "c": 0.18355,
    "h": 282.9
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#4B38B2
secondary
#BAC581
accent
#DC4CC5
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B38B2

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

Preview Lab → · Contrast checker → · Palette generator →

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