#4C45BE#4C45BE

#4C45BE is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.183 H 279.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4C45BE
RGBrgb(76, 69, 190)
HSLhsl(243, 48%, 51%)
HSVhsv(243, 64%, 75%)
CMYKcmyk(60%, 63.7%, 0%, 25.5%)
CIE-LABlab(36.95, 38.33, -62.79)
CIE-LCHlch(36.95, 73.56, 301.40°)
OKLaboklab(47.24% 0.0297 -0.1807)
OKLCHoklch(47.24% 0.183 279.3)
XYZxyz(14.3999, 9.5094, 49.7819)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C45BE #B7BE45
analogous
#457ABE #4C45BE #8845BE
triadic
#4C45BE #BE4C45 #45BE4C
tetradic
#4C45BE #BE457A #B7BE45 #45BE88
square
#4C45BE #BE457A #B7BE45 #45BE88
split-complementary
#4C45BE #BE8845 #7ABE45
monochromatic
#272365 #393393 #4C45BE #7872CE #A3A0DE

Accessibility & contrast

On white

7.24
#4C45BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4C45BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C45BE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C45BE#FFFFFF#000000##FFFFFF
##4C45BE1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c45be;
/* rgb */ color: rgb(76, 69, 190);
/* oklch */ color: oklch(47.2% 0.183 279.3);
Tailwind
colors: {
  custom: {
    50: '#8a79d3',
    500: '#4c45be',
    950: '#000000',
  },
}
SCSS
$custom: #4c45be;
$custom-light: #8a79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c45be",
  "rgb": {
    "r": 76,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 243.471,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47236,
    "c": 0.18311,
    "h": 279.3
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#4C45BE
secondary
#C7CA95
accent
#D850D0
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4C45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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