#4740E3#4740E3

#4740E3 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.5% C 0.236 H 275.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4740E3
RGBrgb(71, 64, 227)
HSLhsl(243, 74%, 57%)
HSVhsv(243, 72%, 89%)
CMYKcmyk(68.7%, 71.8%, 0%, 11%)
CIE-LABlab(38.81, 52.41, -81.12)
CIE-LCHlch(38.81, 96.58, 302.87°)
OKLaboklab(49.49% 0.0221 -0.2345)
OKLCHoklch(49.49% 0.236 275.4)
XYZxyz(18.2925, 10.5507, 73.7306)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740E3 #DCE340
analogous
#408AE3 #4740E3 #9940E3
triadic
#4740E3 #E34740 #40E347
tetradic
#4740E3 #E3408A #DCE340 #40E399
square
#4740E3 #E3408A #DCE340 #40E399
split-complementary
#4740E3 #E39940 #8AE340
monochromatic
#1B1693 #251DC8 #4740E3 #7A75EB #AEABF3

Accessibility & contrast

On white

6.75
#4740E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4740E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4740E3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740E3#FFFFFF#000000##FFFFFF
##4740E31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E8
Deuteranopia (green-blind)
#0054E0
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4740e3;
/* rgb */ color: rgb(71, 64, 227);
/* oklch */ color: oklch(49.5% 0.236 275.4);
Tailwind
colors: {
  custom: {
    50: '#8f77ed',
    500: '#4740e3',
    950: '#000000',
  },
}
SCSS
$custom: #4740e3;
$custom-light: #8f77ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4740e3",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 242.577,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49491,
    "c": 0.23553,
    "h": 275.4
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#4740E3
secondary
#DEE19E
accent
#F137E9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4740E3

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

Preview Lab → · Contrast checker → · Palette generator →

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