#4A45CD#4A45CD

#4A45CD is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.4% C 0.203 H 277.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4A45CD
RGBrgb(74, 69, 205)
HSLhsl(242, 58%, 54%)
HSVhsv(242, 66%, 80%)
CMYKcmyk(63.9%, 66.3%, 0%, 19.6%)
CIE-LABlab(38.05, 42.90, -69.72)
CIE-LCHlch(38.05, 81.86, 301.60°)
OKLaboklab(48.39% 0.0257 -0.2011)
OKLCHoklch(48.39% 0.203 277.3)
XYZxyz(15.9680, 10.1186, 58.8574)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45CD #C8CD45
analogous
#4584CD #4A45CD #8E45CD
triadic
#4A45CD #CD4A45 #45CD4A
tetradic
#4A45CD #CD4584 #C8CD45 #45CD8E
square
#4A45CD #CD4584 #C8CD45 #45CD8E
split-complementary
#4A45CD #CD8E45 #84CD45
monochromatic
#232077 #322DA8 #4A45CD #7975DA #A8A5E7

Accessibility & contrast

On white

6.94
#4A45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4A45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45CD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45CD#FFFFFF#000000##FFFFFF
##4A45CD1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a45cd;
/* rgb */ color: rgb(74, 69, 205);
/* oklch */ color: oklch(48.4% 0.203 277.3);
Tailwind
colors: {
  custom: {
    50: '#8c79dd',
    500: '#4a45cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a45cd;
$custom-light: #8c79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45cd",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 242.206,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48392,
    "c": 0.20274,
    "h": 277.3
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#4A45CD
secondary
#D2D49A
accent
#E147DB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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