#4A45CF#4A45CF

#4A45CF is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.6% C 0.205 H 277.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4A45CF
RGBrgb(74, 69, 207)
HSLhsl(242, 59%, 54%)
HSVhsv(242, 67%, 81%)
CMYKcmyk(64.3%, 66.7%, 0%, 18.8%)
CIE-LABlab(38.23, 43.55, -70.60)
CIE-LCHlch(38.23, 82.95, 301.67°)
OKLaboklab(48.57% 0.0255 -0.2037)
OKLCHoklch(48.57% 0.205 277.1)
XYZxyz(16.2110, 10.2157, 60.1369)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A45CF #CACF45
analogous
#4585CF #4A45CF #8F45CF
triadic
#4A45CF #CF4A45 #45CF4A
tetradic
#4A45CF #CF4585 #CACF45 #45CF8F
square
#4A45CF #CF4585 #CACF45 #45CF8F
split-complementary
#4A45CF #CF8F45 #85CF45
monochromatic
#23207A #312CAB #4A45CF #7976DC #A9A6E8

Accessibility & contrast

On white

6.90
#4A45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4A45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A45CF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A45CF#FFFFFF#000000##FFFFFF
##4A45CF1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a45cf;
/* rgb */ color: rgb(74, 69, 207);
/* oklch */ color: oklch(48.6% 0.205 277.1);
Tailwind
colors: {
  custom: {
    50: '#8c79df',
    500: '#4a45cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a45cf;
$custom-light: #8c79df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a45cf",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 242.174,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48569,
    "c": 0.20525,
    "h": 277.1
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#4A45CF
secondary
#D3D59B
accent
#E246DC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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