#4A45E1#4A45E1

#4A45E1 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.2% C 0.227 H 275.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4A45E1
RGBrgb(74, 69, 225)
HSLhsl(242, 72%, 58%)
HSVhsv(242, 69%, 88%)
CMYKcmyk(67.1%, 69.3%, 0%, 11.8%)
CIE-LABlab(39.83, 49.33, -78.31)
CIE-LCHlch(39.83, 92.55, 302.21°)
OKLaboklab(50.21% 0.0231 -0.2262)
OKLCHoklch(50.21% 0.227 275.8)
XYZxyz(18.5383, 11.1467, 72.3941)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45E1 #DCE145
analogous
#458EE1 #4A45E1 #9845E1
triadic
#4A45E1 #E14A45 #45E14A
tetradic
#4A45E1 #E1458E #DCE145 #45E198
square
#4A45E1 #E1458E #DCE145 #45E198
split-complementary
#4A45E1 #E19845 #8EE145
monochromatic
#1C1894 #2620C8 #4A45E1 #7D7AE9 #B1AEF2

Accessibility & contrast

On white

6.50
#4A45E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4A45E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45E1
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45E1#FFFFFF#000000##FFFFFF
##4A45E11.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E6
Deuteranopia (green-blind)
#0057DE
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a45e1;
/* rgb */ color: rgb(74, 69, 225);
/* oklch */ color: oklch(50.2% 0.227 275.8);
Tailwind
colors: {
  custom: {
    50: '#8f7aec',
    500: '#4a45e1',
    950: '#000000',
  },
}
SCSS
$custom: #4a45e1;
$custom-light: #8f7aec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45e1",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 241.923,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5021,
    "c": 0.22739,
    "h": 275.8
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#4A45E1
secondary
#DEE0A2
accent
#EF39E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A45E1

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

Preview Lab → · Contrast checker → · Palette generator →

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