#4740D5#4740D5

#4740D5 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.2% C 0.219 H 276.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4740D5
RGBrgb(71, 64, 213)
HSLhsl(243, 64%, 54%)
HSVhsv(243, 70%, 84%)
CMYKcmyk(66.7%, 70%, 0%, 16.5%)
CIE-LABlab(37.50, 47.98, -75.27)
CIE-LCHlch(37.50, 89.26, 302.52°)
OKLaboklab(48.15% 0.0244 -0.2174)
OKLCHoklch(48.15% 0.219 276.4)
XYZxyz(16.4382, 9.8090, 63.9649)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740D5 #CED540
analogous
#4084D5 #4740D5 #9240D5
triadic
#4740D5 #D54740 #40D547
tetradic
#4740D5 #D54084 #CED540 #40D592
square
#4740D5 #D54084 #CED540 #40D592
split-complementary
#4740D5 #D59240 #84D540
monochromatic
#211C7F #2D27B1 #4740D5 #7772E0 #A8A4EB

Accessibility & contrast

On white

7.09
#4740D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4740D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740D5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740D5#FFFFFF#000000##FFFFFF
##4740D51.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#0052D2
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4740d5;
/* rgb */ color: rgb(71, 64, 213);
/* oklch */ color: oklch(48.2% 0.219 276.4);
Tailwind
colors: {
  custom: {
    50: '#8c76e3',
    500: '#4740d5',
    950: '#000000',
  },
}
SCSS
$custom: #4740d5;
$custom-light: #8c76e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4740d5",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 213
  },
  "hsl": {
    "h": 242.819,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48154,
    "c": 0.21876,
    "h": 276.4
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#4740D5
secondary
#D5D899
accent
#E741DF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4740D5

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

Preview Lab → · Contrast checker → · Palette generator →

#4740D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva