#4B42DB#4B42DB

#4B42DB is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.3% C 0.223 H 277.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4B42DB
RGBrgb(75, 66, 219)
HSLhsl(244, 68%, 56%)
HSVhsv(244, 70%, 86%)
CMYKcmyk(65.8%, 69.9%, 0%, 14.1%)
CIE-LABlab(38.73, 49.24, -76.67)
CIE-LCHlch(38.73, 91.12, 302.71°)
OKLaboklab(49.28% 0.0271 -0.2214)
OKLCHoklch(49.28% 0.223 277)
XYZxyz(17.6319, 10.5052, 68.1026)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42DB #D2DB42
analogous
#4286DB #4B42DB #9742DB
triadic
#4B42DB #DB4B42 #42DB4B
tetradic
#4B42DB #DB4286 #D2DB42 #42DB97
square
#4B42DB #DB4286 #D2DB42 #42DB97
split-complementary
#4B42DB #DB9742 #86DB42
monochromatic
#211A89 #2D24BC #4B42DB #7C75E5 #ADA9EF

Accessibility & contrast

On white

6.77
#4B42DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4B42DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B42DB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42DB#FFFFFF#000000##FFFFFF
##4B42DB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E0
Deuteranopia (green-blind)
#0055D8
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b42db;
/* rgb */ color: rgb(75, 66, 219);
/* oklch */ color: oklch(49.3% 0.223 277.0);
Tailwind
colors: {
  custom: {
    50: '#8f78e7',
    500: '#4b42db',
    950: '#000000',
  },
}
SCSS
$custom: #4b42db;
$custom-light: #8f78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42db",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 243.529,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49279,
    "c": 0.22305,
    "h": 277
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#4B42DB
secondary
#D8DC9D
accent
#EB3DE1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B42DB

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

Preview Lab → · Contrast checker → · Palette generator →

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