#4B39B2#4B39B2

#4B39B2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.2% C 0.182 H 282.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4B39B2
RGBrgb(75, 57, 178)
HSLhsl(249, 51%, 46%)
HSVhsv(249, 68%, 70%)
CMYKcmyk(57.9%, 68%, 0%, 30.2%)
CIE-LABlab(33.21, 41.45, -61.81)
CIE-LCHlch(33.21, 74.42, 303.85°)
OKLaboklab(44.2% 0.0403 -0.1779)
OKLCHoklch(44.2% 0.182 282.8)
XYZxyz(12.3982, 7.6357, 42.9314)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B39B2 #A0B239
analogous
#3963B2 #4B39B2 #8739B2
triadic
#4B39B2 #B24B39 #39B24B
tetradic
#4B39B2 #B23963 #A0B239 #39B287
square
#4B39B2 #B23963 #A0B239 #39B287
split-complementary
#4B39B2 #B28739 #63B239
monochromatic
#241B55 #372A84 #4B39B2 #6D5DCB #978BDA

Accessibility & contrast

On white

8.31
#4B39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4B39B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B39B2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B39B2#FFFFFF#000000##FFFFFF
##4B39B21.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#115871
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b39b2;
/* rgb */ color: rgb(75, 57, 178);
/* oklch */ color: oklch(44.2% 0.182 282.8);
Tailwind
colors: {
  custom: {
    50: '#8871ca',
    500: '#4b39b2',
    950: '#000000',
  },
}
SCSS
$custom: #4b39b2;
$custom-light: #8871ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b39b2",
  "rgb": {
    "r": 75,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 248.926,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44198,
    "c": 0.18237,
    "h": 282.8
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#4B39B2
secondary
#BBC482
accent
#DB4DC6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4B39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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