#4740BD#4740BD

#4740BD is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.0% C 0.189 H 278.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4740BD
RGBrgb(71, 64, 189)
HSLhsl(243, 49%, 50%)
HSVhsv(243, 66%, 74%)
CMYKcmyk(62.4%, 66.1%, 0%, 25.9%)
CIE-LABlab(35.36, 40.23, -64.81)
CIE-LCHlch(35.36, 76.28, 301.83°)
OKLaboklab(45.96% 0.0277 -0.1868)
OKLCHoklch(45.96% 0.189 278.4)
XYZxyz(13.6143, 8.6794, 49.0921)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4740BD #B6BD40
analogous
#4078BD #4740BD #8640BD
triadic
#4740BD #BD4740 #40BD47
tetradic
#4740BD #BD4078 #B6BD40 #40BD86
square
#4740BD #BD4078 #B6BD40 #40BD86
split-complementary
#4740BD #BD8640 #78BD40
monochromatic
#252162 #36318F #4740BD #726DCD #9E9ADD

Accessibility & contrast

On white

7.67
#4740BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4740BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4740BD
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4740BD#FFFFFF#000000##FFFFFF
##4740BD1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4740bd;
/* rgb */ color: rgb(71, 64, 189);
/* oklch */ color: oklch(46.0% 0.189 278.4);
Tailwind
colors: {
  custom: {
    50: '#8776d2',
    500: '#4740bd',
    950: '#000000',
  },
}
SCSS
$custom: #4740bd;
$custom-light: #8776d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4740bd",
  "rgb": {
    "r": 71,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 243.36,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4596,
    "c": 0.18883,
    "h": 278.4
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4740BD

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

Preview Lab → · Contrast checker → · Palette generator →

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