#4742BB#4742BB

#4742BB is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.184 H 278.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4742BB
RGBrgb(71, 66, 187)
HSLhsl(242, 48%, 50%)
HSVhsv(242, 65%, 73%)
CMYKcmyk(62%, 64.7%, 0%, 26.7%)
CIE-LABlab(35.64, 38.37, -63.17)
CIE-LCHlch(35.64, 73.92, 301.28°)
OKLaboklab(46.11% 0.0262 -0.182)
OKLCHoklch(46.11% 0.184 278.2)
XYZxyz(13.5135, 8.8228, 47.9949)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742BB #B6BB42
analogous
#427ABB #4742BB #8342BB
triadic
#4742BB #BB4742 #42BB47
tetradic
#4742BB #BB427A #B6BB42 #42BB83
square
#4742BB #BB427A #B6BB42 #42BB83
split-complementary
#4742BB #BB8342 #7ABB42
monochromatic
#252261 #36328E #4742BB #726ECC #9E9CDC

Accessibility & contrast

On white

7.60
#4742BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4742BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4742BB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742BB#FFFFFF#000000##FFFFFF
##4742BB1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4742bb;
/* rgb */ color: rgb(71, 66, 187);
/* oklch */ color: oklch(46.1% 0.184 278.2);
Tailwind
colors: {
  custom: {
    50: '#8777d0',
    500: '#4742bb',
    950: '#000000',
  },
}
SCSS
$custom: #4742bb;
$custom-light: #8777d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4742bb",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 242.479,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46112,
    "c": 0.18386,
    "h": 278.2
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#4742BB
secondary
#C6C891
accent
#D750D2
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4742BB

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

Preview Lab → · Contrast checker → · Palette generator →

#4742BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva