#4740D9#4740D9

#4740D9 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.5% C 0.224 H 276.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4740D9
RGBrgb(71, 64, 217)
HSLhsl(243, 67%, 55%)
HSVhsv(243, 71%, 85%)
CMYKcmyk(67.3%, 70.5%, 0%, 14.9%)
CIE-LABlab(37.87, 49.26, -76.96)
CIE-LCHlch(37.87, 91.37, 302.62°)
OKLaboklab(48.53% 0.0238 -0.2223)
OKLCHoklch(48.53% 0.224 276.1)
XYZxyz(16.9522, 10.0146, 66.6718)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740D9 #D2D940
analogous
#4086D9 #4740D9 #9340D9
triadic
#4740D9 #D94740 #40D947
tetradic
#4740D9 #D94086 #D2D940 #40D993
square
#4740D9 #D94086 #D2D940 #40D993
split-complementary
#4740D9 #D99340 #86D940
monochromatic
#1F1A84 #2B24B7 #4740D9 #7873E3 #A9A6ED

Accessibility & contrast

On white

6.99
#4740D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#4740D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4740D9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740D9#FFFFFF#000000##FFFFFF
##4740D91.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DE
Deuteranopia (green-blind)
#0052D6
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4740d9;
/* rgb */ color: rgb(71, 64, 217);
/* oklch */ color: oklch(48.5% 0.224 276.1);
Tailwind
colors: {
  custom: {
    50: '#8d76e6',
    500: '#4740d9',
    950: '#000000',
  },
}
SCSS
$custom: #4740d9;
$custom-light: #8d76e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4740d9",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 242.745,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48532,
    "c": 0.2236,
    "h": 276.1
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#4740D9
secondary
#D8DA9A
accent
#EA3EE2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4740D9

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

Preview Lab → · Contrast checker → · Palette generator →

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