#4A45CB#4A45CB

#4A45CB is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.2% C 0.200 H 277.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4A45CB
RGBrgb(74, 69, 203)
HSLhsl(242, 56%, 53%)
HSVhsv(242, 66%, 80%)
CMYKcmyk(63.5%, 66%, 0%, 20.4%)
CIE-LABlab(37.88, 42.25, -68.85)
CIE-LCHlch(37.88, 80.78, 301.54°)
OKLaboklab(48.22% 0.0259 -0.1985)
OKLCHoklch(48.22% 0.2 277.4)
XYZxyz(15.7282, 10.0226, 57.5941)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45CB #C6CB45
analogous
#4583CB #4A45CB #8D45CB
triadic
#4A45CB #CB4A45 #45CB4A
tetradic
#4A45CB #CB4583 #C6CB45 #45CB8D
square
#4A45CB #CB4583 #C6CB45 #45CB8D
split-complementary
#4A45CB #CB8D45 #83CB45
monochromatic
#242175 #322EA5 #4A45CB #7975D8 #A7A5E6

Accessibility & contrast

On white

6.99
#4A45CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A45CB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45CB#FFFFFF#000000##FFFFFF
##4A45CB1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a45cb;
/* rgb */ color: rgb(74, 69, 203);
/* oklch */ color: oklch(48.2% 0.200 277.4);
Tailwind
colors: {
  custom: {
    50: '#8b79dc',
    500: '#4a45cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a45cb;
$custom-light: #8b79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45cb",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 242.239,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48215,
    "c": 0.20021,
    "h": 277.4
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#4A45CB
secondary
#D1D399
accent
#E048DA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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