#4B42CD#4B42CD

#4B42CD is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.0% C 0.206 H 278.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4B42CD
RGBrgb(75, 66, 205)
HSLhsl(244, 58%, 53%)
HSVhsv(244, 68%, 80%)
CMYKcmyk(63.4%, 67.8%, 0%, 19.6%)
CIE-LABlab(37.48, 44.79, -70.66)
CIE-LCHlch(37.48, 83.66, 302.37°)
OKLaboklab(47.99% 0.0292 -0.2038)
OKLCHoklch(47.99% 0.206 278.2)
XYZxyz(15.8658, 9.7988, 58.8010)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42CD #C4CD42
analogous
#427ECD #4B42CD #9042CD
triadic
#4B42CD #CD4B42 #42CD4B
tetradic
#4B42CD #CD427E #C4CD42 #42CD90
square
#4B42CD #CD427E #C4CD42 #42CD90
split-complementary
#4B42CD #CD9042 #7ECD42
monochromatic
#251F76 #342CA6 #4B42CD #7972DA #A7A3E7

Accessibility & contrast

On white

7.09
#4B42CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4B42CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B42CD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42CD#FFFFFF#000000##FFFFFF
##4B42CD1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4b42cd;
/* rgb */ color: rgb(75, 66, 205);
/* oklch */ color: oklch(48.0% 0.206 278.2);
Tailwind
colors: {
  custom: {
    50: '#8c78dd',
    500: '#4b42cd',
    950: '#000000',
  },
}
SCSS
$custom: #4b42cd;
$custom-light: #8c78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42cd",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 243.885,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47994,
    "c": 0.20591,
    "h": 278.2
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#4B42CD
secondary
#CFD397
accent
#E146D7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B42CD

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

Preview Lab → · Contrast checker → · Palette generator →

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