#4B42D0#4B42D0

#4B42D0 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.3% C 0.210 H 277.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4B42D0
RGBrgb(75, 66, 208)
HSLhsl(244, 60%, 54%)
HSVhsv(244, 68%, 82%)
CMYKcmyk(63.9%, 68.3%, 0%, 18.4%)
CIE-LABlab(37.74, 45.75, -71.97)
CIE-LCHlch(37.74, 85.28, 302.44°)
OKLaboklab(48.27% 0.0288 -0.2076)
OKLCHoklch(48.27% 0.21 277.9)
XYZxyz(16.2314, 9.9450, 60.7265)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42D0 #C7D042
analogous
#4280D0 #4B42D0 #9242D0
triadic
#4B42D0 #D04B42 #42D04B
tetradic
#4B42D0 #D04280 #C7D042 #42D092
square
#4B42D0 #D04280 #C7D042 #42D092
split-complementary
#4B42D0 #D09242 #80D042
monochromatic
#241E79 #322AAA #4B42D0 #7A73DC #A8A4E8

Accessibility & contrast

On white

7.03
#4B42D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4B42D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B42D0
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42D0#FFFFFF#000000##FFFFFF
##4B42D01.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0053CD
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4b42d0;
/* rgb */ color: rgb(75, 66, 208);
/* oklch */ color: oklch(48.3% 0.210 277.9);
Tailwind
colors: {
  custom: {
    50: '#8d78e0',
    500: '#4b42d0',
    950: '#000000',
  },
}
SCSS
$custom: #4b42d0;
$custom-light: #8d78e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42d0",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 243.803,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.20963,
    "h": 277.9
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#4B42D0
secondary
#D1D599
accent
#E344D9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4B42D0

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

Preview Lab → · Contrast checker → · Palette generator →

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