#4A45CC#4A45CC

#4A45CC is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.3% C 0.201 H 277.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4A45CC
RGBrgb(74, 69, 204)
HSLhsl(242, 57%, 54%)
HSVhsv(242, 66%, 80%)
CMYKcmyk(63.7%, 66.2%, 0%, 20%)
CIE-LABlab(37.97, 42.58, -69.28)
CIE-LCHlch(37.97, 81.32, 301.57°)
OKLaboklab(48.3% 0.0258 -0.1998)
OKLCHoklch(48.3% 0.201 277.4)
XYZxyz(15.8477, 10.0704, 58.2237)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45CC #C7CC45
analogous
#4583CC #4A45CC #8D45CC
triadic
#4A45CC #CC4A45 #45CC4A
tetradic
#4A45CC #CC4583 #C7CC45 #45CC8D
square
#4A45CC #CC4583 #C7CC45 #45CC8D
split-complementary
#4A45CC #CC8D45 #83CC45
monochromatic
#242076 #322EA6 #4A45CC #7975D9 #A7A5E6

Accessibility & contrast

On white

6.97
#4A45CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4A45CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45CC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45CC#FFFFFF#000000##FFFFFF
##4A45CC1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a45cc;
/* rgb */ color: rgb(74, 69, 204);
/* oklch */ color: oklch(48.3% 0.201 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b79dd',
    500: '#4a45cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a45cc;
$custom-light: #8b79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45cc",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 242.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.20147,
    "h": 277.4
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#4A45CC
secondary
#D1D399
accent
#E048DB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A45CC

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

Preview Lab → · Contrast checker → · Palette generator →

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