#4745AF#4745AF

#4745AF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.164 H 278.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4745AF
RGBrgb(71, 69, 175)
HSLhsl(241, 43%, 48%)
HSVhsv(241, 61%, 69%)
CMYKcmyk(59.4%, 60.6%, 0%, 31.4%)
CIE-LABlab(35.38, 32.54, -56.50)
CIE-LCHlch(35.38, 65.20, 299.94°)
OKLaboklab(45.62% 0.0243 -0.1624)
OKLCHoklch(45.62% 0.164 278.5)
XYZxyz(12.4621, 8.6901, 41.5698)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4745AF #ADAF45
analogous
#4578AF #4745AF #7C45AF
triadic
#4745AF #AF4745 #45AF47
tetradic
#4745AF #AF4578 #ADAF45 #45AF7C
square
#4745AF #AF4578 #ADAF45 #45AF7C
split-complementary
#4745AF #AF7C45 #78AF45
monochromatic
#232257 #353483 #4745AF #6E6CC5 #9998D6

Accessibility & contrast

On white

7.67
#4745AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4745AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4745AF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4745AF#FFFFFF#000000##FFFFFF
##4745AF1.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)
#0058B2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4745af;
/* rgb */ color: rgb(71, 69, 175);
/* oklch */ color: oklch(45.6% 0.164 278.5);
Tailwind
colors: {
  custom: {
    50: '#8579c8',
    500: '#4745af',
    950: '#000000',
  },
}
SCSS
$custom: #4745af;
$custom-light: #8579c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4745af",
  "rgb": {
    "r": 71,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 241.132,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4562,
    "c": 0.16418,
    "h": 278.5
  },
  "luminance": 0.08691
}

Semantic roles & 50–950 ramp

primary
#4745AF
secondary
#C1C28D
accent
#D355D1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4745AF

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

Preview Lab → · Contrast checker → · Palette generator →

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