#4745BF#4745BF

#4745BF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.185 H 277.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4745BF
RGBrgb(71, 69, 191)
HSLhsl(241, 49%, 51%)
HSVhsv(241, 64%, 75%)
CMYKcmyk(62.8%, 63.9%, 0%, 25.1%)
CIE-LABlab(36.66, 37.87, -63.86)
CIE-LCHlch(36.66, 74.24, 300.67°)
OKLaboklab(46.96% 0.0234 -0.184)
OKLCHoklch(46.96% 0.185 277.2)
XYZxyz(14.1276, 9.3563, 50.3416)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4745BF #BDBF45
analogous
#4580BF #4745BF #8445BF
triadic
#4745BF #BF4745 #45BF47
tetradic
#4745BF #BF4580 #BDBF45 #45BF84
square
#4745BF #BF4580 #BDBF45 #45BF84
split-complementary
#4745BF #BF8445 #80BF45
monochromatic
#242366 #343394 #4745BF #7473CF #A1A0DE

Accessibility & contrast

On white

7.31
#4745BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4745BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4745BF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4745BF#FFFFFF#000000##FFFFFF
##4745BF1.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)
#005BC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4745bf;
/* rgb */ color: rgb(71, 69, 191);
/* oklch */ color: oklch(47.0% 0.185 277.2);
Tailwind
colors: {
  custom: {
    50: '#8779d3',
    500: '#4745bf',
    950: '#000000',
  },
}
SCSS
$custom: #4745bf;
$custom-light: #8779d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4745bf",
  "rgb": {
    "r": 71,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 240.984,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.18545,
    "h": 277.2
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#4745BF
secondary
#CACB95
accent
#D84FD6
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4745BF

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

Preview Lab → · Contrast checker → · Palette generator →

#4745BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva