#4A45D3#4A45D3

#4A45D3 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.210 H 276.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4A45D3
RGBrgb(74, 69, 211)
HSLhsl(242, 62%, 55%)
HSVhsv(242, 67%, 83%)
CMYKcmyk(64.9%, 67.3%, 0%, 17.3%)
CIE-LABlab(38.58, 44.84, -72.34)
CIE-LCHlch(38.58, 85.11, 301.80°)
OKLaboklab(48.93% 0.025 -0.2087)
OKLCHoklch(48.93% 0.21 276.8)
XYZxyz(16.7062, 10.4138, 62.7451)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45D3 #CED345
analogous
#4587D3 #4A45D3 #9145D3
triadic
#4A45D3 #D34A45 #45D34A
tetradic
#4A45D3 #D34587 #CED345 #45D391
square
#4A45D3 #D34587 #CED345 #45D391
split-complementary
#4A45D3 #D39145 #87D345
monochromatic
#221E7F #2F2AB1 #4A45D3 #7A76DF #AAA8EA

Accessibility & contrast

On white

6.81
#4A45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4A45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45D3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45D3#FFFFFF#000000##FFFFFF
##4A45D31.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0055D0
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4a45d3;
/* rgb */ color: rgb(74, 69, 211);
/* oklch */ color: oklch(48.9% 0.210 276.8);
Tailwind
colors: {
  custom: {
    50: '#8d7ae2',
    500: '#4a45d3',
    950: '#000000',
  },
}
SCSS
$custom: #4a45d3;
$custom-light: #8d7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45d3",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 242.113,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.21024,
    "h": 276.8
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#4A45D3
secondary
#D6D89C
accent
#E543DF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #4A45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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