#4742CE#4742CE

#4742CE is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.8% C 0.208 H 276.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4742CE
RGBrgb(71, 66, 206)
HSLhsl(242, 59%, 53%)
HSVhsv(242, 68%, 81%)
CMYKcmyk(65.5%, 68%, 0%, 19.2%)
CIE-LABlab(37.28, 44.58, -71.58)
CIE-LCHlch(37.28, 84.33, 301.92°)
OKLaboklab(47.81% 0.0241 -0.2066)
OKLCHoklch(47.81% 0.208 276.6)
XYZxyz(15.6837, 9.6909, 59.4246)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742CE #C9CE42
analogous
#4283CE #4742CE #8D42CE
triadic
#4742CE #CE4742 #42CE47
tetradic
#4742CE #CE4283 #C9CE42 #42CE8D
square
#4742CE #CE4283 #C9CE42 #42CE8D
split-complementary
#4742CE #CE8D42 #83CE42
monochromatic
#221F77 #302BA7 #4742CE #7673DB #A6A3E7

Accessibility & contrast

On white

7.15
#4742CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4742CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4742CE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742CE#FFFFFF#000000##FFFFFF
##4742CE1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4742ce;
/* rgb */ color: rgb(71, 66, 206);
/* oklch */ color: oklch(47.8% 0.208 276.6);
Tailwind
colors: {
  custom: {
    50: '#8b77de',
    500: '#4742ce',
    950: '#000000',
  },
}
SCSS
$custom: #4742ce;
$custom-light: #8b77de;
$custom-dark: #000000;
JSON
{
  "hex": "#4742ce",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 242.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47806,
    "c": 0.20801,
    "h": 276.6
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#4742CE
secondary
#D2D498
accent
#E246DC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4742CE

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

Preview Lab → · Contrast checker → · Palette generator →

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