#4B45CC#4B45CC

#4B45CC is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.4% C 0.201 H 277.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4B45CC
RGBrgb(75, 69, 204)
HSLhsl(243, 57%, 54%)
HSVhsv(243, 66%, 80%)
CMYKcmyk(63.2%, 66.2%, 0%, 20%)
CIE-LABlab(38.04, 42.72, -69.17)
CIE-LCHlch(38.04, 81.29, 301.70°)
OKLaboklab(48.37% 0.0271 -0.1994)
OKLCHoklch(48.37% 0.201 277.7)
XYZxyz(15.9253, 10.1105, 58.2273)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45CC #C6CC45
analogous
#4582CC #4B45CC #8E45CC
triadic
#4B45CC #CC4B45 #45CC4B
tetradic
#4B45CC #CC4582 #C6CC45 #45CC8E
square
#4B45CC #CC4582 #C6CC45 #45CC8E
split-complementary
#4B45CC #CC8E45 #82CC45
monochromatic
#242076 #332EA6 #4B45CC #7975D9 #A8A5E6

Accessibility & contrast

On white

6.95
#4B45CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4B45CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45CC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45CC#FFFFFF#000000##FFFFFF
##4B45CC1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4b45cc;
/* rgb */ color: rgb(75, 69, 204);
/* oklch */ color: oklch(48.4% 0.201 277.7);
Tailwind
colors: {
  custom: {
    50: '#8c79dd',
    500: '#4b45cc',
    950: '#000000',
  },
}
SCSS
$custom: #4b45cc;
$custom-light: #8c79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45cc",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 242.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48373,
    "c": 0.20126,
    "h": 277.7
  },
  "luminance": 0.10112
}

Semantic roles & 50–950 ramp

primary
#4B45CC
secondary
#D1D399
accent
#E048D9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B45CC

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

Preview Lab → · Contrast checker → · Palette generator →

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