#4A45BA#4A45BA

#4A45BA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.178 H 278.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4A45BA
RGBrgb(74, 69, 186)
HSLhsl(243, 46%, 50%)
HSVhsv(243, 63%, 73%)
CMYKcmyk(60.2%, 62.9%, 0%, 27.1%)
CIE-LABlab(36.47, 36.70, -61.22)
CIE-LCHlch(36.47, 71.37, 300.94°)
OKLaboklab(46.75% 0.0275 -0.1761)
OKLCHoklch(46.75% 0.178 278.9)
XYZxyz(13.8123, 9.2562, 47.5036)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45BA #B5BA45
analogous
#457BBA #4A45BA #8445BA
triadic
#4A45BA #BA4A45 #45BA4A
tetradic
#4A45BA #BA457B #B5BA45 #45BA84
square
#4A45BA #BA457B #B5BA45 #45BA84
split-complementary
#4A45BA #BA8445 #7BBA45
monochromatic
#262461 #38348D #4A45BA #7572CB #A19EDB

Accessibility & contrast

On white

7.36
#4A45BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4A45BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45BA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45BA#FFFFFF#000000##FFFFFF
##4A45BA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4a45ba;
/* rgb */ color: rgb(74, 69, 186);
/* oklch */ color: oklch(46.8% 0.178 278.9);
Tailwind
colors: {
  custom: {
    50: '#8879d0',
    500: '#4a45ba',
    950: '#000000',
  },
}
SCSS
$custom: #4a45ba;
$custom-light: #8879d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45ba",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 242.564,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.46751,
    "c": 0.17827,
    "h": 278.9
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#4A45BA
secondary
#C5C893
accent
#D652D0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4A45BA

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

Preview Lab → · Contrast checker → · Palette generator →

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