#4B46CB#4B46CB

#4B46CB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.199 H 277.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4B46CB
RGBrgb(75, 70, 203)
HSLhsl(242, 56%, 54%)
HSVhsv(242, 66%, 80%)
CMYKcmyk(63.1%, 65.5%, 0%, 20.4%)
CIE-LABlab(38.18, 41.80, -68.36)
CIE-LCHlch(38.18, 80.13, 301.44°)
OKLaboklab(48.45% 0.0264 -0.1971)
OKLCHoklch(48.45% 0.199 277.6)
XYZxyz(15.8678, 10.1867, 57.6184)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B46CB #C6CB46
analogous
#4683CB #4B46CB #8D46CB
triadic
#4B46CB #CB4B46 #46CB4B
tetradic
#4B46CB #CB4683 #C6CB46 #46CB8D
square
#4B46CB #CB4683 #C6CB46 #46CB8D
split-complementary
#4B46CB #CB8D46 #83CB46
monochromatic
#242176 #332EA5 #4B46CB #7976D8 #A8A6E6

Accessibility & contrast

On white

6.91
#4B46CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4B46CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B46CB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B46CB#FFFFFF#000000##FFFFFF
##4B46CB1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4b46cb;
/* rgb */ color: rgb(75, 70, 203);
/* oklch */ color: oklch(48.4% 0.199 277.6);
Tailwind
colors: {
  custom: {
    50: '#8c7adc',
    500: '#4b46cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b46cb;
$custom-light: #8c7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b46cb",
  "rgb": {
    "r": 75,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 242.256,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48445,
    "c": 0.19884,
    "h": 277.6
  },
  "luminance": 0.10188
}

Semantic roles & 50–950 ramp

primary
#4B46CB
secondary
#D1D39A
accent
#DF48DA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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