#4742E2#4742E2

#4742E2 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.7% C 0.232 H 275.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4742E2
RGBrgb(71, 66, 226)
HSLhsl(242, 73%, 57%)
HSVhsv(242, 71%, 89%)
CMYKcmyk(68.6%, 70.8%, 0%, 11.4%)
CIE-LABlab(39.11, 51.00, -80.06)
CIE-LCHlch(39.11, 94.92, 302.50°)
OKLaboklab(49.68% 0.0211 -0.2314)
OKLCHoklch(49.68% 0.232 275.2)
XYZxyz(18.2697, 10.7253, 73.0441)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742E2 #DDE242
analogous
#428DE2 #4742E2 #9742E2
triadic
#4742E2 #E24742 #42E247
tetradic
#4742E2 #E2428D #DDE242 #42E297
square
#4742E2 #E2428D #DDE242 #42E297
split-complementary
#4742E2 #E29742 #8DE242
monochromatic
#1A1793 #241FC8 #4742E2 #7B77EA #AEACF2

Accessibility & contrast

On white

6.68
#4742E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4742E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4742E2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742E2#FFFFFF#000000##FFFFFF
##4742E21.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0055DF
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4742e2;
/* rgb */ color: rgb(71, 66, 226);
/* oklch */ color: oklch(49.7% 0.232 275.2);
Tailwind
colors: {
  custom: {
    50: '#8f78ec',
    500: '#4742e2',
    950: '#000000',
  },
}
SCSS
$custom: #4742e2;
$custom-light: #8f78ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4742e2",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 241.875,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.23235,
    "h": 275.2
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#4742E2
secondary
#DEE09F
accent
#F038EA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4742E2

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

Preview Lab → · Contrast checker → · Palette generator →

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