#4A45C6#4A45C6

#4A45C6 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.8% C 0.194 H 277.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4A45C6
RGBrgb(74, 69, 198)
HSLhsl(242, 53%, 52%)
HSVhsv(242, 65%, 78%)
CMYKcmyk(62.6%, 65.2%, 0%, 22.4%)
CIE-LABlab(37.46, 40.62, -66.63)
CIE-LCHlch(37.46, 78.04, 301.37°)
OKLaboklab(47.78% 0.0265 -0.192)
OKLCHoklch(47.78% 0.194 277.8)
XYZxyz(15.1419, 9.7881, 54.5065)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45C6 #C1C645
analogous
#4580C6 #4A45C6 #8B45C6
triadic
#4A45C6 #C64A45 #45C64A
tetradic
#4A45C6 #C64580 #C1C645 #45C68B
square
#4A45C6 #C64580 #C1C645 #45C68B
split-complementary
#4A45C6 #C68B45 #80C645
monochromatic
#25226F #35309E #4A45C6 #7874D4 #A5A3E3

Accessibility & contrast

On white

7.10
#4A45C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4A45C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45C6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45C6#FFFFFF#000000##FFFFFF
##4A45C61.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a45c6;
/* rgb */ color: rgb(74, 69, 198);
/* oklch */ color: oklch(47.8% 0.194 277.8);
Tailwind
colors: {
  custom: {
    50: '#8a79d8',
    500: '#4a45c6',
    950: '#000000',
  },
}
SCSS
$custom: #4a45c6;
$custom-light: #8a79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45c6",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 242.326,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.19384,
    "h": 277.8
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#4A45C6
secondary
#CDCF97
accent
#DC4BD7
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A45C6

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

Preview Lab → · Contrast checker → · Palette generator →

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