#4A45BD#4A45BD

#4A45BD is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.182 H 278.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4A45BD
RGBrgb(74, 69, 189)
HSLhsl(243, 48%, 51%)
HSVhsv(243, 63%, 74%)
CMYKcmyk(60.8%, 63.5%, 0%, 25.9%)
CIE-LABlab(36.72, 37.68, -62.58)
CIE-LCHlch(36.72, 73.05, 301.05°)
OKLaboklab(47% 0.0272 -0.1802)
OKLCHoklch(47% 0.182 278.6)
XYZxyz(14.1345, 9.3852, 49.2009)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45BD #B8BD45
analogous
#457CBD #4A45BD #8645BD
triadic
#4A45BD #BD4A45 #45BD4A
tetradic
#4A45BD #BD457C #B8BD45 #45BD86
square
#4A45BD #BD457C #B8BD45 #45BD86
split-complementary
#4A45BD #BD8645 #7CBD45
monochromatic
#262464 #373491 #4A45BD #7672CD #A29FDD

Accessibility & contrast

On white

7.30
#4A45BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4A45BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45BD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45BD#FFFFFF#000000##FFFFFF
##4A45BD1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4a45bd;
/* rgb */ color: rgb(74, 69, 189);
/* oklch */ color: oklch(47.0% 0.182 278.6);
Tailwind
colors: {
  custom: {
    50: '#8979d2',
    500: '#4a45bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a45bd;
$custom-light: #8979d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45bd",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 242.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47004,
    "c": 0.18221,
    "h": 278.6
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

primary
#4A45BD
secondary
#C7CA94
accent
#D751D2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4A45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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