#4740CC#4740CC

#4740CC is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.3% C 0.208 H 277.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4740CC
RGBrgb(71, 64, 204)
HSLhsl(243, 58%, 53%)
HSVhsv(243, 69%, 80%)
CMYKcmyk(65.2%, 68.6%, 0%, 20%)
CIE-LABlab(36.68, 45.10, -71.41)
CIE-LCHlch(36.68, 84.46, 302.27°)
OKLaboklab(47.32% 0.0258 -0.2061)
OKLCHoklch(47.32% 0.208 277.1)
XYZxyz(15.3275, 9.3647, 58.1149)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740CC #C5CC40
analogous
#407FCC #4740CC #8D40CC
triadic
#4740CC #CC4740 #40CC47
tetradic
#4740CC #CC407F #C5CC40 #40CC8D
square
#4740CC #CC407F #C5CC40 #40CC8D
split-complementary
#4740CC #CC8D40 #7FCC40
monochromatic
#231F73 #322CA3 #4740CC #7670D9 #A4A1E6

Accessibility & contrast

On white

7.31
#4740CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4740CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740CC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740CC#FFFFFF#000000##FFFFFF
##4740CC1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4740cc;
/* rgb */ color: rgb(71, 64, 204);
/* oklch */ color: oklch(47.3% 0.208 277.1);
Tailwind
colors: {
  custom: {
    50: '#8a76dd',
    500: '#4740cc',
    950: '#000000',
  },
}
SCSS
$custom: #4740cc;
$custom-light: #8a76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4740cc",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 243,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.20772,
    "h": 277.1
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#4740CC
secondary
#CFD295
accent
#E147D9
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4740CC

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

Preview Lab → · Contrast checker → · Palette generator →

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