#4A45D6#4A45D6

#4A45D6 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.2% C 0.214 H 276.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4A45D6
RGBrgb(74, 69, 214)
HSLhsl(242, 64%, 55%)
HSVhsv(242, 68%, 84%)
CMYKcmyk(65.4%, 67.8%, 0%, 16.1%)
CIE-LABlab(38.84, 45.81, -73.63)
CIE-LCHlch(38.84, 86.72, 301.89°)
OKLaboklab(49.2% 0.0246 -0.2125)
OKLCHoklch(49.2% 0.214 276.6)
XYZxyz(17.0858, 10.5657, 64.7443)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45D6 #D1D645
analogous
#4588D6 #4A45D6 #9245D6
triadic
#4A45D6 #D64A45 #45D64A
tetradic
#4A45D6 #D64588 #D1D645 #45D692
square
#4A45D6 #D64588 #D1D645 #45D692
split-complementary
#4A45D6 #D69245 #88D645
monochromatic
#211D84 #2D28B6 #4A45D6 #7B77E1 #ACA9EC

Accessibility & contrast

On white

6.75
#4A45D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4A45D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45D6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45D6#FFFFFF#000000##FFFFFF
##4A45D61.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0055D3
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4a45d6;
/* rgb */ color: rgb(74, 69, 214);
/* oklch */ color: oklch(49.2% 0.214 276.6);
Tailwind
colors: {
  custom: {
    50: '#8d7ae4',
    500: '#4a45d6',
    950: '#000000',
  },
}
SCSS
$custom: #4a45d6;
$custom-light: #8d7ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45d6",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 242.069,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49199,
    "c": 0.21396,
    "h": 276.6
  },
  "luminance": 0.10567
}

Semantic roles & 50–950 ramp

primary
#4A45D6
secondary
#D8DA9D
accent
#E741E1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A45D6

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

Preview Lab → · Contrast checker → · Palette generator →

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