#4B42D9#4B42D9

#4B42D9 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.1% C 0.221 H 277.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4B42D9
RGBrgb(75, 66, 217)
HSLhsl(244, 67%, 55%)
HSVhsv(244, 70%, 85%)
CMYKcmyk(65.4%, 69.6%, 0%, 14.9%)
CIE-LABlab(38.55, 48.61, -75.82)
CIE-LCHlch(38.55, 90.06, 302.66°)
OKLaboklab(49.09% 0.0274 -0.2189)
OKLCHoklch(49.09% 0.221 277.1)
XYZxyz(17.3702, 10.4006, 66.7243)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42D9 #D0D942
analogous
#4284D9 #4B42D9 #9642D9
triadic
#4B42D9 #D94B42 #42D94B
tetradic
#4B42D9 #D94284 #D0D942 #42D996
square
#4B42D9 #D94284 #D0D942 #42D996
split-complementary
#4B42D9 #D99642 #84D942
monochromatic
#211B86 #2E25B9 #4B42D9 #7C75E3 #ACA8ED

Accessibility & contrast

On white

6.82
#4B42D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4B42D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B42D9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42D9#FFFFFF#000000##FFFFFF
##4B42D91.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0054D6
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b42d9;
/* rgb */ color: rgb(75, 66, 217);
/* oklch */ color: oklch(49.1% 0.221 277.1);
Tailwind
colors: {
  custom: {
    50: '#8e78e6',
    500: '#4b42d9',
    950: '#000000',
  },
}
SCSS
$custom: #4b42d9;
$custom-light: #8e78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42d9",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 243.576,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49093,
    "c": 0.22063,
    "h": 277.1
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#4B42D9
secondary
#D7DB9C
accent
#E93EDF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B42D9

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

Preview Lab → · Contrast checker → · Palette generator →

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