#4B42DA#4B42DA

#4B42DA is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.222 H 277.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4B42DA
RGBrgb(75, 66, 218)
HSLhsl(244, 67%, 56%)
HSVhsv(244, 70%, 85%)
CMYKcmyk(65.6%, 69.7%, 0%, 14.5%)
CIE-LABlab(38.64, 48.92, -76.25)
CIE-LCHlch(38.64, 90.59, 302.68°)
OKLaboklab(49.19% 0.0273 -0.2202)
OKLCHoklch(49.19% 0.222 277.1)
XYZxyz(17.5006, 10.4527, 67.4114)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42DA #D1DA42
analogous
#4285DA #4B42DA #9742DA
triadic
#4B42DA #DA4B42 #42DA4B
tetradic
#4B42DA #DA4285 #D1DA42 #42DA97
square
#4B42DA #DA4285 #D1DA42 #42DA97
split-complementary
#4B42DA #DA9742 #85DA42
monochromatic
#211A87 #2D24BA #4B42DA #7C75E4 #ACA8EE

Accessibility & contrast

On white

6.79
#4B42DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4B42DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B42DA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42DA#FFFFFF#000000##FFFFFF
##4B42DA1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DF
Deuteranopia (green-blind)
#0054D7
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b42da;
/* rgb */ color: rgb(75, 66, 218);
/* oklch */ color: oklch(49.2% 0.222 277.1);
Tailwind
colors: {
  custom: {
    50: '#8f78e7',
    500: '#4b42da',
    950: '#000000',
  },
}
SCSS
$custom: #4b42da;
$custom-light: #8f78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42da",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 243.553,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49186,
    "c": 0.22184,
    "h": 277.1
  },
  "luminance": 0.10454
}

Semantic roles & 50–950 ramp

primary
#4B42DA
secondary
#D8DB9C
accent
#EA3EE0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B42DA

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

Preview Lab → · Contrast checker → · Palette generator →

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