#4A45B2#4A45B2

#4A45B2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.168 H 279.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4A45B2
RGBrgb(74, 69, 178)
HSLhsl(243, 44%, 48%)
HSVhsv(243, 61%, 70%)
CMYKcmyk(58.4%, 61.2%, 0%, 30.2%)
CIE-LABlab(35.84, 34.07, -57.52)
CIE-LCHlch(35.84, 66.86, 300.64°)
OKLaboklab(46.09% 0.0279 -0.1653)
OKLCHoklch(46.09% 0.168 279.6)
XYZxyz(12.9855, 8.9255, 43.1494)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45B2 #ADB245
analogous
#4576B2 #4A45B2 #8045B2
triadic
#4A45B2 #B24A45 #45B24A
tetradic
#4A45B2 #B24576 #ADB245 #45B280
square
#4A45B2 #B24576 #ADB245 #45B280
split-complementary
#4A45B2 #B28045 #76B245
monochromatic
#25235A #383486 #4A45B2 #726EC7 #9D9AD8

Accessibility & contrast

On white

7.54
#4A45B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4A45B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45B2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45B2#FFFFFF#000000##FFFFFF
##4A45B21.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#066075
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a45b2;
/* rgb */ color: rgb(74, 69, 178);
/* oklch */ color: oklch(46.1% 0.168 279.6);
Tailwind
colors: {
  custom: {
    50: '#8779ca',
    500: '#4a45b2',
    950: '#000000',
  },
}
SCSS
$custom: #4a45b2;
$custom-light: #8779ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45b2",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 242.752,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4609,
    "c": 0.16763,
    "h": 279.6
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#4A45B2
secondary
#C1C48F
accent
#D454CE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4A45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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