#4740D6#4740D6

#4740D6 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.2% C 0.220 H 276.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4740D6
RGBrgb(71, 64, 214)
HSLhsl(243, 65%, 55%)
HSVhsv(243, 70%, 84%)
CMYKcmyk(66.8%, 70.1%, 0%, 16.1%)
CIE-LABlab(37.59, 48.30, -75.69)
CIE-LCHlch(37.59, 89.79, 302.54°)
OKLaboklab(48.25% 0.0242 -0.2186)
OKLCHoklch(48.25% 0.22 276.3)
XYZxyz(16.5656, 9.8600, 64.6355)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740D6 #CFD640
analogous
#4084D6 #4740D6 #9240D6
triadic
#4740D6 #D64740 #40D647
tetradic
#4740D6 #D64084 #CFD640 #40D692
square
#4740D6 #D64084 #CFD640 #40D692
split-complementary
#4740D6 #D69240 #84D640
monochromatic
#201B80 #2D26B2 #4740D6 #7872E1 #A8A5EC

Accessibility & contrast

On white

7.07
#4740D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4740D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740D6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740D6#FFFFFF#000000##FFFFFF
##4740D61.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4740d6;
/* rgb */ color: rgb(71, 64, 214);
/* oklch */ color: oklch(48.2% 0.220 276.3);
Tailwind
colors: {
  custom: {
    50: '#8c76e4',
    500: '#4740d6',
    950: '#000000',
  },
}
SCSS
$custom: #4740d6;
$custom-light: #8c76e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4740d6",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 214
  },
  "hsl": {
    "h": 242.8,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.21998,
    "h": 276.3
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#4740D6
secondary
#D6D999
accent
#E840E0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4740D6

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

Preview Lab → · Contrast checker → · Palette generator →

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