#4B42CA#4B42CA

#4B42CA is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.7% C 0.202 H 278.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4B42CA
RGBrgb(75, 66, 202)
HSLhsl(244, 56%, 53%)
HSVhsv(244, 67%, 79%)
CMYKcmyk(62.9%, 67.3%, 0%, 20.8%)
CIE-LABlab(37.22, 43.83, -69.35)
CIE-LCHlch(37.22, 82.04, 302.29°)
OKLaboklab(47.73% 0.0296 -0.2)
OKLCHoklch(47.73% 0.202 278.4)
XYZxyz(15.5071, 9.6553, 56.9121)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42CA #C1CA42
analogous
#427DCA #4B42CA #8F42CA
triadic
#4B42CA #CA4B42 #42CA4B
tetradic
#4B42CA #CA427D #C1CA42 #42CA8F
square
#4B42CA #CA427D #C1CA42 #42CA8F
split-complementary
#4B42CA #CA8F42 #7DCA42
monochromatic
#252072 #352DA2 #4B42CA #7972D7 #A6A2E5

Accessibility & contrast

On white

7.16
#4B42CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4B42CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B42CA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42CA#FFFFFF#000000##FFFFFF
##4B42CA1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4b42ca;
/* rgb */ color: rgb(75, 66, 202);
/* oklch */ color: oklch(47.7% 0.202 278.4);
Tailwind
colors: {
  custom: {
    50: '#8c77db',
    500: '#4b42ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b42ca;
$custom-light: #8c77db;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42ca",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 243.971,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.20217,
    "h": 278.4
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#4B42CA
secondary
#CED196
accent
#DF48D5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B42CA

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

Preview Lab → · Contrast checker → · Palette generator →

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