#4B42D8#4B42D8

#4B42D8 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.0% C 0.219 H 277.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4B42D8
RGBrgb(75, 66, 216)
HSLhsl(244, 66%, 55%)
HSVhsv(244, 69%, 85%)
CMYKcmyk(65.3%, 69.4%, 0%, 15.3%)
CIE-LABlab(38.46, 48.29, -75.40)
CIE-LCHlch(38.46, 89.54, 302.64°)
OKLaboklab(49% 0.0276 -0.2177)
OKLCHoklch(49% 0.219 277.2)
XYZxyz(17.2405, 10.3487, 66.0414)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42D8 #CFD842
analogous
#4284D8 #4B42D8 #9642D8
triadic
#4B42D8 #D84B42 #42D84B
tetradic
#4B42D8 #D84284 #CFD842 #42D896
square
#4B42D8 #D84284 #CFD842 #42D896
split-complementary
#4B42D8 #D89642 #84D842
monochromatic
#221B84 #2E26B7 #4B42D8 #7B75E2 #ACA7ED

Accessibility & contrast

On white

6.84
#4B42D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4B42D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B42D8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42D8#FFFFFF#000000##FFFFFF
##4B42D81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DD
Deuteranopia (green-blind)
#0054D5
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b42d8;
/* rgb */ color: rgb(75, 66, 216);
/* oklch */ color: oklch(49.0% 0.219 277.2);
Tailwind
colors: {
  custom: {
    50: '#8e78e5',
    500: '#4b42d8',
    950: '#000000',
  },
}
SCSS
$custom: #4b42d8;
$custom-light: #8e78e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42d8",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 243.6,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49,
    "c": 0.21942,
    "h": 277.2
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#4B42D8
secondary
#D6DA9C
accent
#E93FDF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B42D8

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

Preview Lab → · Contrast checker → · Palette generator →

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