#4A45D4#4A45D4

#4A45D4 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.0% C 0.211 H 276.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4A45D4
RGBrgb(74, 69, 212)
HSLhsl(242, 62%, 55%)
HSVhsv(242, 67%, 83%)
CMYKcmyk(65.1%, 67.5%, 0%, 16.9%)
CIE-LABlab(38.66, 45.17, -72.77)
CIE-LCHlch(38.66, 85.65, 301.83°)
OKLaboklab(49.02% 0.0249 -0.21)
OKLCHoklch(49.02% 0.211 276.8)
XYZxyz(16.8320, 10.4641, 63.4074)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45D4 #CFD445
analogous
#4587D4 #4A45D4 #9245D4
triadic
#4A45D4 #D44A45 #45D44A
tetradic
#4A45D4 #D44587 #CFD445 #45D492
square
#4A45D4 #D44587 #CFD445 #45D492
split-complementary
#4A45D4 #D49245 #87D445
monochromatic
#211E81 #2E29B3 #4A45D4 #7A77DF #ABA8EB

Accessibility & contrast

On white

6.79
#4A45D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4A45D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45D4
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45D4#FFFFFF#000000##FFFFFF
##4A45D41.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D8
Deuteranopia (green-blind)
#0055D1
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4a45d4;
/* rgb */ color: rgb(74, 69, 212);
/* oklch */ color: oklch(49.0% 0.211 276.8);
Tailwind
colors: {
  custom: {
    50: '#8d7ae2',
    500: '#4a45d4',
    950: '#000000',
  },
}
SCSS
$custom: #4a45d4;
$custom-light: #8d7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45d4",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 242.098,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49018,
    "c": 0.21149,
    "h": 276.8
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

primary
#4A45D4
secondary
#D6D89C
accent
#E642E0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A45D4

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

Preview Lab → · Contrast checker → · Palette generator →

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