#4742BC#4742BC

#4742BC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.2% C 0.185 H 278.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4742BC
RGBrgb(71, 66, 188)
HSLhsl(242, 48%, 50%)
HSVhsv(242, 65%, 74%)
CMYKcmyk(62.2%, 64.9%, 0%, 26.3%)
CIE-LABlab(35.72, 38.70, -63.62)
CIE-LCHlch(35.72, 74.47, 301.31°)
OKLaboklab(46.2% 0.0261 -0.1833)
OKLCHoklch(46.2% 0.185 278.1)
XYZxyz(13.6209, 8.8658, 48.5607)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742BC #B7BC42
analogous
#427ABC #4742BC #8442BC
triadic
#4742BC #BC4742 #42BC47
tetradic
#4742BC #BC427A #B7BC42 #42BC84
square
#4742BC #BC427A #B7BC42 #42BC84
split-complementary
#4742BC #BC8442 #7ABC42
monochromatic
#252261 #36328F #4742BC #736FCC #9F9CDC

Accessibility & contrast

On white

7.57
#4742BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4742BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4742BC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742BC#FFFFFF#000000##FFFFFF
##4742BC1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4742bc;
/* rgb */ color: rgb(71, 66, 188);
/* oklch */ color: oklch(46.2% 0.185 278.1);
Tailwind
colors: {
  custom: {
    50: '#8777d1',
    500: '#4742bc',
    950: '#000000',
  },
}
SCSS
$custom: #4742bc;
$custom-light: #8777d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4742bc",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 242.459,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46199,
    "c": 0.18516,
    "h": 278.1
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#4742BC
secondary
#C6C991
accent
#D850D2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #4742BC

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

Preview Lab → · Contrast checker → · Palette generator →

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