#4742CC#4742CC

#4742CC is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.6% C 0.206 H 276.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4742CC
RGBrgb(71, 66, 204)
HSLhsl(242, 58%, 53%)
HSVhsv(242, 68%, 80%)
CMYKcmyk(65.2%, 67.6%, 0%, 20%)
CIE-LABlab(37.10, 43.93, -70.71)
CIE-LCHlch(37.10, 83.25, 301.85°)
OKLaboklab(47.62% 0.0243 -0.2041)
OKLCHoklch(47.62% 0.206 276.8)
XYZxyz(15.4423, 9.5943, 58.1531)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742CC #C7CC42
analogous
#4282CC #4742CC #8C42CC
triadic
#4742CC #CC4742 #42CC47
tetradic
#4742CC #CC4282 #C7CC42 #42CC8C
square
#4742CC #CC4282 #C7CC42 #42CC8C
split-complementary
#4742CC #CC8C42 #82CC42
monochromatic
#221F74 #312CA4 #4742CC #7672D9 #A5A2E6

Accessibility & contrast

On white

7.19
#4742CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4742CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4742CC
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742CC#FFFFFF#000000##FFFFFF
##4742CC1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4742cc;
/* rgb */ color: rgb(71, 66, 204);
/* oklch */ color: oklch(47.6% 0.206 276.8);
Tailwind
colors: {
  custom: {
    50: '#8a77dd',
    500: '#4742cc',
    950: '#000000',
  },
}
SCSS
$custom: #4742cc;
$custom-light: #8a77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4742cc",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 242.174,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.20552,
    "h": 276.8
  },
  "luminance": 0.09596
}

Semantic roles & 50–950 ramp

primary
#4742CC
secondary
#D1D397
accent
#E147DB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4742CC

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

Preview Lab → · Contrast checker → · Palette generator →

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