#4740D2#4740D2

#4740D2 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.9% C 0.215 H 276.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4740D2
RGBrgb(71, 64, 210)
HSLhsl(243, 62%, 54%)
HSVhsv(243, 70%, 82%)
CMYKcmyk(66.2%, 69.5%, 0%, 17.6%)
CIE-LABlab(37.22, 47.02, -73.99)
CIE-LCHlch(37.22, 87.67, 302.44°)
OKLaboklab(47.87% 0.0249 -0.2137)
OKLCHoklch(47.87% 0.215 276.6)
XYZxyz(16.0610, 9.6581, 61.9781)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740D2 #CBD240
analogous
#4082D2 #4740D2 #9040D2
triadic
#4740D2 #D24740 #40D247
tetradic
#4740D2 #D24082 #CBD240 #40D290
square
#4740D2 #D24082 #CBD240 #40D290
split-complementary
#4740D2 #D29040 #82D240
monochromatic
#211D7B #2F29AC #4740D2 #7772DE #A6A3E9

Accessibility & contrast

On white

7.16
#4740D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4740D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740D2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740D2#FFFFFF#000000##FFFFFF
##4740D21.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0051CF
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4740d2;
/* rgb */ color: rgb(71, 64, 210);
/* oklch */ color: oklch(47.9% 0.215 276.6);
Tailwind
colors: {
  custom: {
    50: '#8b76e1',
    500: '#4740d2',
    950: '#000000',
  },
}
SCSS
$custom: #4740d2;
$custom-light: #8b76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4740d2",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 242.877,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.2151,
    "h": 276.6
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#4740D2
secondary
#D3D698
accent
#E543DD
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #4740D2

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

Preview Lab → · Contrast checker → · Palette generator →

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