#4A45BF#4A45BF

#4A45BF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.185 H 278.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4A45BF
RGBrgb(74, 69, 191)
HSLhsl(242, 49%, 51%)
HSVhsv(242, 64%, 75%)
CMYKcmyk(61.3%, 63.9%, 0%, 25.1%)
CIE-LABlab(36.88, 38.33, -63.49)
CIE-LCHlch(36.88, 74.17, 301.12°)
OKLaboklab(47.17% 0.0271 -0.1828)
OKLCHoklch(47.17% 0.185 278.4)
XYZxyz(14.3531, 9.4726, 50.3521)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45BF #BABF45
analogous
#457DBF #4A45BF #8745BF
triadic
#4A45BF #BF4A45 #45BF4A
tetradic
#4A45BF #BF457D #BABF45 #45BF87
square
#4A45BF #BF457D #BABF45 #45BF87
split-complementary
#4A45BF #BF8745 #7DBF45
monochromatic
#262366 #373394 #4A45BF #7673CF #A3A0DE

Accessibility & contrast

On white

7.25
#4A45BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4A45BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45BF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45BF#FFFFFF#000000##FFFFFF
##4A45BF1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a45bf;
/* rgb */ color: rgb(74, 69, 191);
/* oklch */ color: oklch(47.2% 0.185 278.4);
Tailwind
colors: {
  custom: {
    50: '#8979d3',
    500: '#4a45bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a45bf;
$custom-light: #8979d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45bf",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 242.459,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47174,
    "c": 0.18481,
    "h": 278.4
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#4A45BF
secondary
#C9CB95
accent
#D84FD3
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4A45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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