#4B42BF#4B42BF

#4B42BF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.8% C 0.188 H 279.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#4B42BF
RGBrgb(75, 66, 191)
HSLhsl(244, 49%, 50%)
HSVhsv(244, 65%, 75%)
CMYKcmyk(60.7%, 65.4%, 0%, 25.1%)
CIE-LABlab(36.28, 40.29, -64.47)
CIE-LCHlch(36.28, 76.03, 302.01°)
OKLaboklab(46.76% 0.0309 -0.1857)
OKLCHoklch(46.76% 0.188 279.4)
XYZxyz(14.2508, 9.1528, 50.2958)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42BF #B6BF42
analogous
#4277BF #4B42BF #8942BF
triadic
#4B42BF #BF4B42 #42BF4B
tetradic
#4B42BF #BF4277 #B6BF42 #42BF89
square
#4B42BF #BF4277 #B6BF42 #42BF89
split-complementary
#4B42BF #BF8942 #77BF42
monochromatic
#272265 #383292 #4B42BF #7770CE #A29DDE

Accessibility & contrast

On white

7.42
#4B42BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4B42BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B42BF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42BF#FFFFFF#000000##FFFFFF
##4B42BF1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4b42bf;
/* rgb */ color: rgb(75, 66, 191);
/* oklch */ color: oklch(46.8% 0.188 279.4);
Tailwind
colors: {
  custom: {
    50: '#8a77d3',
    500: '#4b42bf',
    950: '#000000',
  },
}
SCSS
$custom: #4b42bf;
$custom-light: #8a77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42bf",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 244.32,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46755,
    "c": 0.18822,
    "h": 279.4
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#4B42BF
secondary
#C6CA93
accent
#D94FCF
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4B42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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