#4742D7#4742D7

#4742D7 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.219 H 276.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4742D7
RGBrgb(71, 66, 215)
HSLhsl(242, 65%, 55%)
HSVhsv(242, 69%, 84%)
CMYKcmyk(67%, 69.3%, 0%, 15.7%)
CIE-LABlab(38.09, 47.49, -75.44)
CIE-LCHlch(38.09, 89.14, 302.19°)
OKLaboklab(48.64% 0.0228 -0.2179)
OKLCHoklch(48.64% 0.219 276)
XYZxyz(16.8085, 10.1408, 65.3484)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742D7 #D2D742
analogous
#4288D7 #4742D7 #9142D7
triadic
#4742D7 #D74742 #42D747
tetradic
#4742D7 #D74288 #D2D742 #42D791
square
#4742D7 #D74288 #D2D742 #42D791
split-complementary
#4742D7 #D79142 #88D742
monochromatic
#1F1C83 #2B26B5 #4742D7 #7875E2 #A9A7EC

Accessibility & contrast

On white

6.93
#4742D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4742D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4742D7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742D7#FFFFFF#000000##FFFFFF
##4742D71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DB
Deuteranopia (green-blind)
#0053D4
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4742d7;
/* rgb */ color: rgb(71, 66, 215);
/* oklch */ color: oklch(48.6% 0.219 276.0);
Tailwind
colors: {
  custom: {
    50: '#8c78e5',
    500: '#4742d7',
    950: '#000000',
  },
}
SCSS
$custom: #4742d7;
$custom-light: #8c78e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4742d7",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 242.013,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.21909,
    "h": 276
  },
  "luminance": 0.10142
}

Semantic roles & 50–950 ramp

primary
#4742D7
secondary
#D8DA9B
accent
#E840E2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4742D7

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

Preview Lab → · Contrast checker → · Palette generator →

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