#4A45AE#4A45AE

#4A45AE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.162 H 280.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4A45AE
RGBrgb(74, 69, 174)
HSLhsl(243, 43%, 48%)
HSVhsv(243, 60%, 68%)
CMYKcmyk(57.5%, 60.3%, 0%, 31.8%)
CIE-LABlab(35.53, 32.75, -55.65)
CIE-LCHlch(35.53, 64.58, 300.48°)
OKLaboklab(45.77% 0.0281 -0.1598)
OKLCHoklch(45.77% 0.162 280)
XYZxyz(12.5897, 8.7672, 41.0650)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45AE #A9AE45
analogous
#4575AE #4A45AE #7E45AE
triadic
#4A45AE #AE4A45 #45AE4A
tetradic
#4A45AE #AE4575 #A9AE45 #45AE7E
square
#4A45AE #AE4575 #A9AE45 #45AE7E
split-complementary
#4A45AE #AE7E45 #75AE45
monochromatic
#252256 #373482 #4A45AE #706CC5 #9A97D6

Accessibility & contrast

On white

7.63
#4A45AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4A45AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45AE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45AE#FFFFFF#000000##FFFFFF
##4A45AE1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#115E73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a45ae;
/* rgb */ color: rgb(74, 69, 174);
/* oklch */ color: oklch(45.8% 0.162 280.0);
Tailwind
colors: {
  custom: {
    50: '#8679c7',
    500: '#4a45ae',
    950: '#000000',
  },
}
SCSS
$custom: #4a45ae;
$custom-light: #8679c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45ae",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 242.857,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45766,
    "c": 0.16223,
    "h": 280
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#4A45AE
secondary
#BFC28D
accent
#D355CD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4A45AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4A45AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva