#4A45DF#4A45DF

#4A45DF is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.0% C 0.225 H 276.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4A45DF
RGBrgb(74, 69, 223)
HSLhsl(242, 71%, 57%)
HSVhsv(242, 69%, 87%)
CMYKcmyk(66.8%, 69.1%, 0%, 12.5%)
CIE-LABlab(39.64, 48.70, -77.46)
CIE-LCHlch(39.64, 91.50, 302.15°)
OKLaboklab(50.02% 0.0234 -0.2237)
OKLCHoklch(50.02% 0.225 276)
XYZxyz(18.2671, 11.0382, 70.9657)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45DF #DADF45
analogous
#458DDF #4A45DF #9745DF
triadic
#4A45DF #DF4A45 #45DF4A
tetradic
#4A45DF #DF458D #DADF45 #45DF97
square
#4A45DF #DF458D #DADF45 #45DF97
split-complementary
#4A45DF #DF9745 #8DDF45
monochromatic
#1D1991 #2722C5 #4A45DF #7D79E8 #B0ADF1

Accessibility & contrast

On white

6.55
#4A45DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4A45DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45DF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45DF#FFFFFF#000000##FFFFFF
##4A45DF1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E4
Deuteranopia (green-blind)
#0057DC
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4a45df;
/* rgb */ color: rgb(74, 69, 223);
/* oklch */ color: oklch(50.0% 0.225 276.0);
Tailwind
colors: {
  custom: {
    50: '#8f7aea',
    500: '#4a45df',
    950: '#000000',
  },
}
SCSS
$custom: #4a45df;
$custom-light: #8f7aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45df",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 241.948,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50024,
    "c": 0.22497,
    "h": 276
  },
  "luminance": 0.1104
}

Semantic roles & 50–950 ramp

primary
#4A45DF
secondary
#DDDFA1
accent
#ED3AE8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A45DF

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

Preview Lab → · Contrast checker → · Palette generator →

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