#4A45BC#4A45BC

#4A45BC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.9% C 0.181 H 278.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4A45BC
RGBrgb(74, 69, 188)
HSLhsl(243, 47%, 50%)
HSVhsv(243, 63%, 74%)
CMYKcmyk(60.6%, 63.3%, 0%, 26.3%)
CIE-LABlab(36.63, 37.35, -62.13)
CIE-LCHlch(36.63, 72.49, 301.01°)
OKLaboklab(46.92% 0.0273 -0.1788)
OKLCHoklch(46.92% 0.181 278.7)
XYZxyz(14.0264, 9.3419, 48.6312)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45BC #B7BC45
analogous
#457BBC #4A45BC #8545BC
triadic
#4A45BC #BC4A45 #45BC4A
tetradic
#4A45BC #BC457B #B7BC45 #45BC85
square
#4A45BC #BC457B #B7BC45 #45BC85
split-complementary
#4A45BC #BC8545 #7BBC45
monochromatic
#262463 #383490 #4A45BC #7672CC #A29FDC

Accessibility & contrast

On white

7.32
#4A45BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4A45BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45BC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45BC#FFFFFF#000000##FFFFFF
##4A45BC1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4a45bc;
/* rgb */ color: rgb(74, 69, 188);
/* oklch */ color: oklch(46.9% 0.181 278.7);
Tailwind
colors: {
  custom: {
    50: '#8879d1',
    500: '#4a45bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a45bc;
$custom-light: #8879d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45bc",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 242.521,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.18089,
    "h": 278.7
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#4A45BC
secondary
#C7C994
accent
#D751D1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4A45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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