#4A45D1#4A45D1

#4A45D1 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.7% C 0.208 H 277.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4A45D1
RGBrgb(74, 69, 209)
HSLhsl(242, 60%, 55%)
HSVhsv(242, 67%, 82%)
CMYKcmyk(64.6%, 67%, 0%, 18%)
CIE-LABlab(38.40, 44.20, -71.47)
CIE-LCHlch(38.40, 84.03, 301.73°)
OKLaboklab(48.75% 0.0252 -0.2062)
OKLCHoklch(48.75% 0.208 277)
XYZxyz(16.4570, 10.3142, 61.4328)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45D1 #CCD145
analogous
#4586D1 #4A45D1 #9045D1
triadic
#4A45D1 #D14A45 #45D14A
tetradic
#4A45D1 #D14586 #CCD145 #45D190
square
#4A45D1 #D14586 #CCD145 #45D190
split-complementary
#4A45D1 #D19045 #86D145
monochromatic
#221F7D #302BAE #4A45D1 #7A76DD #A9A7E9

Accessibility & contrast

On white

6.86
#4A45D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4A45D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45D1
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45D1#FFFFFF#000000##FFFFFF
##4A45D11.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D5
Deuteranopia (green-blind)
#0054CE
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a45d1;
/* rgb */ color: rgb(74, 69, 209);
/* oklch */ color: oklch(48.7% 0.208 277.0);
Tailwind
colors: {
  custom: {
    50: '#8c7ae0',
    500: '#4a45d1',
    950: '#000000',
  },
}
SCSS
$custom: #4a45d1;
$custom-light: #8c7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45d1",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 242.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48748,
    "c": 0.20775,
    "h": 277
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#4A45D1
secondary
#D4D79B
accent
#E344DE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4A45D1

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

Preview Lab → · Contrast checker → · Palette generator →

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