#4A45CA#4A45CA

#4A45CA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.1% C 0.199 H 277.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4A45CA
RGBrgb(74, 69, 202)
HSLhsl(242, 56%, 53%)
HSVhsv(242, 66%, 79%)
CMYKcmyk(63.4%, 65.8%, 0%, 20.8%)
CIE-LABlab(37.80, 41.93, -68.40)
CIE-LCHlch(37.80, 80.23, 301.50°)
OKLaboklab(48.13% 0.026 -0.1972)
OKLCHoklch(48.13% 0.199 277.5)
XYZxyz(15.6094, 9.9751, 56.9685)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45CA #C5CA45
analogous
#4582CA #4A45CA #8D45CA
triadic
#4A45CA #CA4A45 #45CA4A
tetradic
#4A45CA #CA4582 #C5CA45 #45CA8D
square
#4A45CA #CA4582 #C5CA45 #45CA8D
split-complementary
#4A45CA #CA8D45 #82CA45
monochromatic
#242174 #332FA3 #4A45CA #7875D8 #A7A4E5

Accessibility & contrast

On white

7.01
#4A45CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4A45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45CA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45CA#FFFFFF#000000##FFFFFF
##4A45CA1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a45ca;
/* rgb */ color: rgb(74, 69, 202);
/* oklch */ color: oklch(48.1% 0.199 277.5);
Tailwind
colors: {
  custom: {
    50: '#8b79db',
    500: '#4a45ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a45ca;
$custom-light: #8b79db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45ca",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 242.256,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.19894,
    "h": 277.5
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#4A45CA
secondary
#D0D299
accent
#DF49D9
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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