#4A45BB#4A45BB

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

Color values

HEX#4A45BB
RGBrgb(74, 69, 187)
HSLhsl(243, 46%, 50%)
HSVhsv(243, 63%, 73%)
CMYKcmyk(60.4%, 63.1%, 0%, 26.7%)
CIE-LABlab(36.55, 37.02, -61.67)
CIE-LCHlch(36.55, 71.93, 300.98°)
OKLaboklab(46.84% 0.0274 -0.1775)
OKLCHoklch(46.84% 0.18 278.8)
XYZxyz(13.9189, 9.2989, 48.0655)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45BB #B6BB45
analogous
#457BBB #4A45BB #8545BB
triadic
#4A45BB #BB4A45 #45BB4A
tetradic
#4A45BB #BB457B #B6BB45 #45BB85
square
#4A45BB #BB457B #B6BB45 #45BB85
split-complementary
#4A45BB #BB8545 #7BBB45
monochromatic
#262462 #38348F #4A45BB #7672CB #A19FDC

Accessibility & contrast

On white

7.34
#4A45BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4A45BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45BB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45BB#FFFFFF#000000##FFFFFF
##4A45BB1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a45bb;
/* rgb */ color: rgb(74, 69, 187);
/* oklch */ color: oklch(46.8% 0.180 278.8);
Tailwind
colors: {
  custom: {
    50: '#8879d0',
    500: '#4a45bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a45bb;
$custom-light: #8879d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45bb",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 242.542,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46835,
    "c": 0.17958,
    "h": 278.8
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#4A45BB
secondary
#C6C894
accent
#D652D0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4A45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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