#4A45D9#4A45D9

#4A45D9 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.218 H 276.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4A45D9
RGBrgb(74, 69, 217)
HSLhsl(242, 66%, 56%)
HSVhsv(242, 68%, 85%)
CMYKcmyk(65.9%, 68.2%, 0%, 14.9%)
CIE-LABlab(39.11, 46.78, -74.92)
CIE-LCHlch(39.11, 88.32, 301.98°)
OKLaboklab(49.47% 0.0242 -0.2163)
OKLCHoklch(49.47% 0.218 276.4)
XYZxyz(17.4725, 10.7203, 66.7806)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45D9 #D4D945
analogous
#458AD9 #4A45D9 #9445D9
triadic
#4A45D9 #D94A45 #45D94A
tetradic
#4A45D9 #D9458A #D4D945 #45D994
square
#4A45D9 #D9458A #D4D945 #45D994
split-complementary
#4A45D9 #D99445 #8AD945
monochromatic
#1F1C88 #2B26BB #4A45D9 #7B78E3 #ADABEE

Accessibility & contrast

On white

6.68
#4A45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4A45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45D9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45D9#FFFFFF#000000##FFFFFF
##4A45D91.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#0056D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a45d9;
/* rgb */ color: rgb(74, 69, 217);
/* oklch */ color: oklch(49.5% 0.218 276.4);
Tailwind
colors: {
  custom: {
    50: '#8e7ae6',
    500: '#4a45d9',
    950: '#000000',
  },
}
SCSS
$custom: #4a45d9;
$custom-light: #8e7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45d9",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 242.027,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49472,
    "c": 0.21765,
    "h": 276.4
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#4A45D9
secondary
#D9DB9E
accent
#E93FE3
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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