#4A45CE#4A45CE

#4A45CE is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.5% C 0.204 H 277.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4A45CE
RGBrgb(74, 69, 206)
HSLhsl(242, 58%, 54%)
HSVhsv(242, 67%, 81%)
CMYKcmyk(64.1%, 66.5%, 0%, 19.2%)
CIE-LABlab(38.14, 43.22, -70.16)
CIE-LCHlch(38.14, 82.41, 301.64°)
OKLaboklab(48.48% 0.0256 -0.2024)
OKLCHoklch(48.48% 0.204 277.2)
XYZxyz(16.0891, 10.1670, 59.4951)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45CE #C9CE45
analogous
#4585CE #4A45CE #8F45CE
triadic
#4A45CE #CE4A45 #45CE4A
tetradic
#4A45CE #CE4585 #C9CE45 #45CE8F
square
#4A45CE #CE4585 #C9CE45 #45CE8F
split-complementary
#4A45CE #CE8F45 #85CE45
monochromatic
#232079 #312DA9 #4A45CE #7975DB #A8A6E8

Accessibility & contrast

On white

6.92
#4A45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4A45CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45CE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45CE#FFFFFF#000000##FFFFFF
##4A45CE1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a45ce;
/* rgb */ color: rgb(74, 69, 206);
/* oklch */ color: oklch(48.5% 0.204 277.2);
Tailwind
colors: {
  custom: {
    50: '#8c79de',
    500: '#4a45ce',
    950: '#000000',
  },
}
SCSS
$custom: #4a45ce;
$custom-light: #8c79de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45ce",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 242.19,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4848,
    "c": 0.20399,
    "h": 277.2
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#4A45CE
secondary
#D2D59A
accent
#E246DC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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