#4B42CB#4B42CB

#4B42CB is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.8% C 0.203 H 278.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4B42CB
RGBrgb(75, 66, 203)
HSLhsl(244, 57%, 53%)
HSVhsv(244, 67%, 80%)
CMYKcmyk(63.1%, 67.5%, 0%, 20.4%)
CIE-LABlab(37.30, 44.15, -69.79)
CIE-LCHlch(37.30, 82.58, 302.32°)
OKLaboklab(47.81% 0.0295 -0.2013)
OKLCHoklch(47.81% 0.203 278.3)
XYZxyz(15.6259, 9.7028, 57.5377)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42CB #C2CB42
analogous
#427DCB #4B42CB #9042CB
triadic
#4B42CB #CB4B42 #42CB4B
tetradic
#4B42CB #CB427D #C2CB42 #42CB90
square
#4B42CB #CB427D #C2CB42 #42CB90
split-complementary
#4B42CB #CB9042 #7DCB42
monochromatic
#252073 #352DA3 #4B42CB #7972D8 #A6A2E5

Accessibility & contrast

On white

7.14
#4B42CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4B42CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B42CB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42CB#FFFFFF#000000##FFFFFF
##4B42CB1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4b42cb;
/* rgb */ color: rgb(75, 66, 203);
/* oklch */ color: oklch(47.8% 0.203 278.3);
Tailwind
colors: {
  custom: {
    50: '#8c77dc',
    500: '#4b42cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b42cb;
$custom-light: #8c77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42cb",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 243.942,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47814,
    "c": 0.20341,
    "h": 278.3
  },
  "luminance": 0.09704
}

Semantic roles & 50–950 ramp

primary
#4B42CB
secondary
#CED297
accent
#E048D6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B42CB

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

Preview Lab → · Contrast checker → · Palette generator →

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