#4742D3#4742D3

#4742D3 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.3% C 0.214 H 276.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4742D3
RGBrgb(71, 66, 211)
HSLhsl(242, 62%, 54%)
HSVhsv(242, 69%, 83%)
CMYKcmyk(66.4%, 68.7%, 0%, 17.3%)
CIE-LABlab(37.73, 46.20, -73.73)
CIE-LCHlch(37.73, 87.01, 302.07°)
OKLaboklab(48.27% 0.0234 -0.2129)
OKLCHoklch(48.27% 0.214 276.3)
XYZxyz(16.3008, 9.9377, 62.6745)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742D3 #CED342
analogous
#4286D3 #4742D3 #9042D3
triadic
#4742D3 #D34742 #42D347
tetradic
#4742D3 #D34286 #CED342 #42D390
square
#4742D3 #D34286 #CED342 #42D390
split-complementary
#4742D3 #D39042 #86D342
monochromatic
#211D7D #2D29AF #4742D3 #7774DF #A8A5EA

Accessibility & contrast

On white

7.03
#4742D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4742D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4742D3
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742D3#FFFFFF#000000##FFFFFF
##4742D31.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0052D0
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4742d3;
/* rgb */ color: rgb(71, 66, 211);
/* oklch */ color: oklch(48.3% 0.214 276.3);
Tailwind
colors: {
  custom: {
    50: '#8c78e2',
    500: '#4742d3',
    950: '#000000',
  },
}
SCSS
$custom: #4742d3;
$custom-light: #8c78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4742d3",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 242.069,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.21419,
    "h": 276.3
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#4742D3
secondary
#D5D79A
accent
#E542E0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #4742D3

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

Preview Lab → · Contrast checker → · Palette generator →

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