#4742C8#4742C8

#4742C8 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.3% C 0.200 H 277.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4742C8
RGBrgb(71, 66, 200)
HSLhsl(242, 55%, 52%)
HSVhsv(242, 67%, 78%)
CMYKcmyk(64.5%, 67%, 0%, 21.6%)
CIE-LABlab(36.75, 42.63, -68.96)
CIE-LCHlch(36.75, 81.08, 301.72°)
OKLaboklab(47.26% 0.0248 -0.1989)
OKLCHoklch(47.26% 0.2 277.1)
XYZxyz(14.9687, 9.4049, 55.6589)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742C8 #C3C842
analogous
#4280C8 #4742C8 #8A42C8
triadic
#4742C8 #C84742 #42C847
tetradic
#4742C8 #C84280 #C3C842 #42C88A
square
#4742C8 #C84280 #C3C842 #42C88A
split-complementary
#4742C8 #C88A42 #80C842
monochromatic
#23206F #322E9F #4742C8 #7571D6 #A3A1E4

Accessibility & contrast

On white

7.29
#4742C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4742C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4742C8
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742C8#FFFFFF#000000##FFFFFF
##4742C81.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4742c8;
/* rgb */ color: rgb(71, 66, 200);
/* oklch */ color: oklch(47.3% 0.200 277.1);
Tailwind
colors: {
  custom: {
    50: '#8977da',
    500: '#4742c8',
    950: '#000000',
  },
}
SCSS
$custom: #4742c8;
$custom-light: #8977da;
$custom-dark: #000000;
JSON
{
  "hex": "#4742c8",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 242.239,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47262,
    "c": 0.20049,
    "h": 277.1
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#4742C8
secondary
#CED096
accent
#DE4AD9
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4742C8

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

Preview Lab → · Contrast checker → · Palette generator →

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