#4C45BA#4C45BA

#4C45BA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.9% C 0.178 H 279.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4C45BA
RGBrgb(76, 69, 186)
HSLhsl(244, 46%, 50%)
HSVhsv(244, 63%, 73%)
CMYKcmyk(59.1%, 62.9%, 0%, 27.1%)
CIE-LABlab(36.63, 37.03, -60.96)
CIE-LCHlch(36.63, 71.33, 301.27°)
OKLaboklab(46.9% 0.03 -0.1753)
OKLCHoklch(46.9% 0.178 279.7)
XYZxyz(13.9687, 9.3369, 47.5110)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45BA #B3BA45
analogous
#4578BA #4C45BA #8745BA
triadic
#4C45BA #BA4C45 #45BA4C
tetradic
#4C45BA #BA4578 #B3BA45 #45BA87
square
#4C45BA #BA4578 #B3BA45 #45BA87
split-complementary
#4C45BA #BA8745 #78BA45
monochromatic
#282461 #3A348D #4C45BA #7772CB #A29EDB

Accessibility & contrast

On white

7.32
#4C45BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4C45BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C45BA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45BA#FFFFFF#000000##FFFFFF
##4C45BA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c45ba;
/* rgb */ color: rgb(76, 69, 186);
/* oklch */ color: oklch(46.9% 0.178 279.7);
Tailwind
colors: {
  custom: {
    50: '#8979d0',
    500: '#4c45ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c45ba;
$custom-light: #8979d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45ba",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 243.59,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.46901,
    "c": 0.17789,
    "h": 279.7
  },
  "luminance": 0.09338
}

Semantic roles & 50–950 ramp

primary
#4C45BA
secondary
#C4C893
accent
#D652CE
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4C45BA

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

Preview Lab → · Contrast checker → · Palette generator →

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