#4A42BF#4A42BF

#4A42BF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.7% C 0.188 H 279.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#4A42BF
RGBrgb(74, 66, 191)
HSLhsl(244, 49%, 50%)
HSVhsv(244, 65%, 75%)
CMYKcmyk(61.3%, 65.4%, 0%, 25.1%)
CIE-LABlab(36.20, 40.14, -64.60)
CIE-LCHlch(36.20, 76.05, 301.86°)
OKLaboklab(46.68% 0.0296 -0.1861)
OKLCHoklch(46.68% 0.188 279)
XYZxyz(14.1732, 9.1128, 50.2922)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42BF #B7BF42
analogous
#4278BF #4A42BF #8842BF
triadic
#4A42BF #BF4A42 #42BF4A
tetradic
#4A42BF #BF4278 #B7BF42 #42BF88
square
#4A42BF #BF4278 #B7BF42 #42BF88
split-complementary
#4A42BF #BF8842 #78BF42
monochromatic
#262265 #383292 #4A42BF #7670CE #A29DDE

Accessibility & contrast

On white

7.44
#4A42BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4A42BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A42BF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42BF#FFFFFF#000000##FFFFFF
##4A42BF1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.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: #4a42bf;
/* rgb */ color: rgb(74, 66, 191);
/* oklch */ color: oklch(46.7% 0.188 279.0);
Tailwind
colors: {
  custom: {
    50: '#8977d3',
    500: '#4a42bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a42bf;
$custom-light: #8977d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42bf",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 243.84,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4668,
    "c": 0.18842,
    "h": 279
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#4A42BF
secondary
#C7CA93
accent
#D94FD0
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4A42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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