#4742DD#4742DD

#4742DD is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.226 H 275.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4742DD
RGBrgb(71, 66, 221)
HSLhsl(242, 70%, 56%)
HSVhsv(242, 70%, 87%)
CMYKcmyk(67.9%, 70.1%, 0%, 13.3%)
CIE-LABlab(38.65, 49.41, -77.97)
CIE-LCHlch(38.65, 92.31, 302.36°)
OKLaboklab(49.2% 0.0219 -0.2253)
OKLCHoklch(49.2% 0.226 275.6)
XYZxyz(17.5936, 10.4549, 69.4834)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742DD #D8DD42
analogous
#428BDD #4742DD #9442DD
triadic
#4742DD #DD4742 #42DD47
tetradic
#4742DD #DD428B #D8DD42 #42DD94
square
#4742DD #DD428B #D8DD42 #42DD94
split-complementary
#4742DD #DD9442 #8BDD42
monochromatic
#1D198C #2722BF #4742DD #7976E6 #ACAAF0

Accessibility & contrast

On white

6.79
#4742DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4742DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4742DD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742DD#FFFFFF#000000##FFFFFF
##4742DD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0054DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4742dd;
/* rgb */ color: rgb(71, 66, 221);
/* oklch */ color: oklch(49.2% 0.226 275.6);
Tailwind
colors: {
  custom: {
    50: '#8e78e9',
    500: '#4742dd',
    950: '#000000',
  },
}
SCSS
$custom: #4742dd;
$custom-light: #8e78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4742dd",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 241.935,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.22636,
    "h": 275.6
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#4742DD
secondary
#DBDD9D
accent
#EC3BE7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4742DD

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

Preview Lab → · Contrast checker → · Palette generator →

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