#4A45AF#4A45AF

#4A45AF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.164 H 279.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4A45AF
RGBrgb(74, 69, 175)
HSLhsl(243, 43%, 48%)
HSVhsv(243, 61%, 69%)
CMYKcmyk(57.7%, 60.6%, 0%, 31.4%)
CIE-LABlab(35.61, 33.08, -56.12)
CIE-LCHlch(35.61, 65.15, 300.52°)
OKLaboklab(45.85% 0.0281 -0.1612)
OKLCHoklch(45.85% 0.164 279.9)
XYZxyz(12.6876, 8.8064, 41.5804)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45AF #AAAF45
analogous
#4575AF #4A45AF #7F45AF
triadic
#4A45AF #AF4A45 #45AF4A
tetradic
#4A45AF #AF4575 #AAAF45 #45AF7F
square
#4A45AF #AF4575 #AAAF45 #45AF7F
split-complementary
#4A45AF #AF7F45 #75AF45
monochromatic
#252257 #373483 #4A45AF #706CC5 #9B98D6

Accessibility & contrast

On white

7.60
#4A45AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4A45AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A45AF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45AF#FFFFFF#000000##FFFFFF
##4A45AF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#0F5F73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a45af;
/* rgb */ color: rgb(74, 69, 175);
/* oklch */ color: oklch(45.8% 0.164 279.9);
Tailwind
colors: {
  custom: {
    50: '#8679c8',
    500: '#4a45af',
    950: '#000000',
  },
}
SCSS
$custom: #4a45af;
$custom-light: #8679c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45af",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 242.83,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45846,
    "c": 0.16358,
    "h": 279.9
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#4A45AF
secondary
#C0C28D
accent
#D355CD
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4A45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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