#4740BC#4740BC

#4740BC is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.9% C 0.188 H 278.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4740BC
RGBrgb(71, 64, 188)
HSLhsl(243, 49%, 49%)
HSVhsv(243, 66%, 74%)
CMYKcmyk(62.2%, 66%, 0%, 26.3%)
CIE-LABlab(35.27, 39.91, -64.36)
CIE-LCHlch(35.27, 75.73, 301.80°)
OKLaboklab(45.87% 0.0278 -0.1855)
OKLCHoklch(45.87% 0.188 278.5)
XYZxyz(13.5061, 8.6362, 48.5224)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740BC #B5BC40
analogous
#4077BC #4740BC #8540BC
triadic
#4740BC #BC4740 #40BC47
tetradic
#4740BC #BC4077 #B5BC40 #40BC85
square
#4740BC #BC4077 #B5BC40 #40BC85
split-complementary
#4740BC #BC8540 #77BC40
monochromatic
#252161 #36308E #4740BC #726CCD #9E9ADD

Accessibility & contrast

On white

7.70
#4740BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4740BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740BC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740BC#FFFFFF#000000##FFFFFF
##4740BC1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4740bc;
/* rgb */ color: rgb(71, 64, 188);
/* oklch */ color: oklch(45.9% 0.188 278.5);
Tailwind
colors: {
  custom: {
    50: '#8776d1',
    500: '#4740bc',
    950: '#000000',
  },
}
SCSS
$custom: #4740bc;
$custom-light: #8776d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4740bc",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 243.387,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.18754,
    "h": 278.5
  },
  "luminance": 0.08637
}

Semantic roles & 50–950 ramp

primary
#4740BC
secondary
#C5C98F
accent
#D94FD1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #4740BC

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

Preview Lab → · Contrast checker → · Palette generator →

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