#4740D8#4740D8

#4740D8 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.222 H 276.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4740D8
RGBrgb(71, 64, 216)
HSLhsl(243, 66%, 55%)
HSVhsv(243, 70%, 85%)
CMYKcmyk(67.1%, 70.4%, 0%, 15.3%)
CIE-LABlab(37.78, 48.94, -76.54)
CIE-LCHlch(37.78, 90.84, 302.60°)
OKLaboklab(48.44% 0.0239 -0.2211)
OKLCHoklch(48.44% 0.222 276.2)
XYZxyz(16.8225, 9.9628, 65.9889)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740D8 #D1D840
analogous
#4085D8 #4740D8 #9340D8
triadic
#4740D8 #D84740 #40D847
tetradic
#4740D8 #D84085 #D1D840 #40D893
square
#4740D8 #D84085 #D1D840 #40D893
split-complementary
#4740D8 #D89340 #85D840
monochromatic
#201B83 #2C25B6 #4740D8 #7873E2 #A9A6ED

Accessibility & contrast

On white

7.02
#4740D8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4740D8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740D8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740D8#FFFFFF#000000##FFFFFF
##4740D81.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDD
Deuteranopia (green-blind)
#0052D5
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4740d8;
/* rgb */ color: rgb(71, 64, 216);
/* oklch */ color: oklch(48.4% 0.222 276.2);
Tailwind
colors: {
  custom: {
    50: '#8d76e5',
    500: '#4740d8',
    950: '#000000',
  },
}
SCSS
$custom: #4740d8;
$custom-light: #8d76e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4740d8",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 216
  },
  "hsl": {
    "h": 242.763,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48437,
    "c": 0.22239,
    "h": 276.2
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

primary
#4740D8
secondary
#D7DA9A
accent
#E93FE1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4740D8

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

Preview Lab → · Contrast checker → · Palette generator →

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