#4A45C8#4A45C8

#4A45C8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.0% C 0.196 H 277.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4A45C8
RGBrgb(74, 69, 200)
HSLhsl(242, 54%, 53%)
HSVhsv(242, 66%, 78%)
CMYKcmyk(63%, 65.5%, 0%, 21.6%)
CIE-LABlab(37.63, 41.27, -67.52)
CIE-LCHlch(37.63, 79.14, 301.44°)
OKLaboklab(47.95% 0.0263 -0.1946)
OKLCHoklch(47.95% 0.196 277.7)
XYZxyz(15.3741, 9.8810, 55.7294)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45C8 #C3C845
analogous
#4581C8 #4A45C8 #8B45C8
triadic
#4A45C8 #C84A45 #45C84A
tetradic
#4A45C8 #C84581 #C3C845 #45C88B
square
#4A45C8 #C84581 #C3C845 #45C88B
split-complementary
#4A45C8 #C88B45 #81C845
monochromatic
#242171 #342FA0 #4A45C8 #7874D6 #A6A3E4

Accessibility & contrast

On white

7.06
#4A45C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4A45C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45C8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45C8#FFFFFF#000000##FFFFFF
##4A45C81.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a45c8;
/* rgb */ color: rgb(74, 69, 200);
/* oklch */ color: oklch(48.0% 0.196 277.7);
Tailwind
colors: {
  custom: {
    50: '#8b79da',
    500: '#4a45c8',
    950: '#000000',
  },
}
SCSS
$custom: #4a45c8;
$custom-light: #8b79da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45c8",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 242.29,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47951,
    "c": 0.1964,
    "h": 277.7
  },
  "luminance": 0.09882
}

Semantic roles & 50–950 ramp

primary
#4A45C8
secondary
#CFD198
accent
#DE4AD8
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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