#4B45D2#4B45D2

#4B45D2 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.209 H 277.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4B45D2
RGBrgb(75, 69, 210)
HSLhsl(243, 61%, 55%)
HSVhsv(243, 67%, 82%)
CMYKcmyk(64.3%, 67.1%, 0%, 17.6%)
CIE-LABlab(38.56, 44.65, -71.79)
CIE-LCHlch(38.56, 84.54, 301.88°)
OKLaboklab(48.91% 0.0263 -0.2071)
OKLCHoklch(48.91% 0.209 277.2)
XYZxyz(16.6589, 10.4039, 62.0905)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45D2 #CCD245
analogous
#4586D2 #4B45D2 #9145D2
triadic
#4B45D2 #D24B45 #45D24B
tetradic
#4B45D2 #D24586 #CCD245 #45D291
square
#4B45D2 #D24586 #CCD245 #45D291
split-complementary
#4B45D2 #D29145 #86D245
monochromatic
#231F7E #302AAF #4B45D2 #7B76DE #AAA8EA

Accessibility & contrast

On white

6.82
#4B45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4B45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45D2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45D2#FFFFFF#000000##FFFFFF
##4B45D21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b45d2;
/* rgb */ color: rgb(75, 69, 210);
/* oklch */ color: oklch(48.9% 0.209 277.2);
Tailwind
colors: {
  custom: {
    50: '#8d7ae1',
    500: '#4b45d2',
    950: '#000000',
  },
}
SCSS
$custom: #4b45d2;
$custom-light: #8d7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45d2",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 242.553,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48907,
    "c": 0.20878,
    "h": 277.2
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#4B45D2
secondary
#D5D79C
accent
#E444DD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4B45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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