#4742E9#4742E9

#4742E9 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.3% C 0.241 H 274.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4742E9
RGBrgb(71, 66, 233)
HSLhsl(242, 79%, 59%)
HSVhsv(242, 72%, 91%)
CMYKcmyk(69.5%, 71.7%, 0%, 8.6%)
CIE-LABlab(39.78, 53.21, -82.94)
CIE-LCHlch(39.78, 98.54, 302.68°)
OKLaboklab(50.35% 0.02 -0.2398)
OKLCHoklch(50.35% 0.241 274.8)
XYZxyz(19.2499, 11.1174, 78.2064)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742E9 #E4E942
analogous
#4290E9 #4742E9 #9A42E9
triadic
#4742E9 #E94742 #42E947
tetradic
#4742E9 #E94290 #E4E942 #42E99A
square
#4742E9 #E94290 #E4E942 #42E99A
split-complementary
#4742E9 #E99A42 #90E942
monochromatic
#17129E #1E19D5 #4742E9 #7C79EF #B2B0F6

Accessibility & contrast

On white

6.51
#4742E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4742E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4742E9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742E9#FFFFFF#000000##FFFFFF
##4742E91.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065EE
Deuteranopia (green-blind)
#0056E6
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4742e9;
/* rgb */ color: rgb(71, 66, 233);
/* oklch */ color: oklch(50.3% 0.241 274.8);
Tailwind
colors: {
  custom: {
    50: '#9078f1',
    500: '#4742e9',
    950: '#000000',
  },
}
SCSS
$custom: #4742e9;
$custom-light: #9078f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4742e9",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 233
  },
  "hsl": {
    "h": 241.796,
    "s": 79.147,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.24064,
    "h": 274.8
  },
  "luminance": 0.11119
}

Semantic roles & 50–950 ramp

primary
#4742E9
secondary
#E2E4A2
accent
#F632F0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4742E9

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

Preview Lab → · Contrast checker → · Palette generator →

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