#4A45EA#4A45EA

#4A45EA is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.238 H 275.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4A45EA
RGBrgb(74, 69, 234)
HSLhsl(242, 80%, 59%)
HSVhsv(242, 71%, 92%)
CMYKcmyk(68.4%, 70.5%, 0%, 8.2%)
CIE-LABlab(40.66, 52.19, -82.06)
CIE-LCHlch(40.66, 97.25, 302.46°)
OKLaboklab(51.05% 0.0217 -0.2372)
OKLCHoklch(51.05% 0.238 275.2)
XYZxyz(19.7985, 11.6508, 79.0314)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45EA #E5EA45
analogous
#4593EA #4A45EA #9D45EA
triadic
#4A45EA #EA4A45 #45EA4A
tetradic
#4A45EA #EA4593 #E5EA45 #45EA9D
square
#4A45EA #EA4593 #E5EA45 #45EA9D
split-complementary
#4A45EA #EA9D45 #93EA45
monochromatic
#1712A2 #1E19D9 #4A45EA #807CF0 #B5B3F6

Accessibility & contrast

On white

6.31
#4A45EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4A45EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45EA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45EA#FFFFFF#000000##FFFFFF
##4A45EA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EF
Deuteranopia (green-blind)
#0058E7
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a45ea;
/* rgb */ color: rgb(74, 69, 234);
/* oklch */ color: oklch(51.1% 0.238 275.2);
Tailwind
colors: {
  custom: {
    50: '#917af2',
    500: '#4a45ea',
    950: '#000000',
  },
}
SCSS
$custom: #4a45ea;
$custom-light: #917af2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45ea",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 241.818,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.23816,
    "h": 275.2
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#4A45EA
secondary
#E4E6A5
accent
#F632F0
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4A45EA

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

Preview Lab → · Contrast checker → · Palette generator →

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