#4B42C8#4B42C8

#4B42C8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.5% C 0.200 H 278.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4B42C8
RGBrgb(75, 66, 200)
HSLhsl(244, 55%, 52%)
HSVhsv(244, 67%, 78%)
CMYKcmyk(62.5%, 67%, 0%, 21.6%)
CIE-LABlab(37.04, 43.19, -68.47)
CIE-LCHlch(37.04, 80.96, 302.24°)
OKLaboklab(47.55% 0.0299 -0.1974)
OKLCHoklch(47.55% 0.2 278.6)
XYZxyz(15.2718, 9.5612, 55.6731)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42C8 #BFC842
analogous
#427CC8 #4B42C8 #8E42C8
triadic
#4B42C8 #C84B42 #42C84B
tetradic
#4B42C8 #C8427C #BFC842 #42C88E
square
#4B42C8 #C8427C #BFC842 #42C88E
split-complementary
#4B42C8 #C88E42 #7CC842
monochromatic
#26206F #362E9F #4B42C8 #7871D6 #A5A1E4

Accessibility & contrast

On white

7.21
#4B42C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4B42C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B42C8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42C8#FFFFFF#000000##FFFFFF
##4B42C81.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4b42c8;
/* rgb */ color: rgb(75, 66, 200);
/* oklch */ color: oklch(47.5% 0.200 278.6);
Tailwind
colors: {
  custom: {
    50: '#8b77da',
    500: '#4b42c8',
    950: '#000000',
  },
}
SCSS
$custom: #4b42c8;
$custom-light: #8b77da;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42c8",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 244.03,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.19965,
    "h": 278.6
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#4B42C8
secondary
#CCD096
accent
#DE4AD4
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B42C8

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

Preview Lab → · Contrast checker → · Palette generator →

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