#4B45D3#4B45D3

#4B45D3 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.0% C 0.210 H 277.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4B45D3
RGBrgb(75, 69, 211)
HSLhsl(243, 62%, 55%)
HSVhsv(243, 67%, 83%)
CMYKcmyk(64.5%, 67.3%, 0%, 17.3%)
CIE-LABlab(38.64, 44.98, -72.22)
CIE-LCHlch(38.64, 85.08, 301.91°)
OKLaboklab(49% 0.0262 -0.2084)
OKLCHoklch(49% 0.21 277.2)
XYZxyz(16.7838, 10.4538, 62.7487)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45D3 #CDD345
analogous
#4586D3 #4B45D3 #9245D3
triadic
#4B45D3 #D34B45 #45D34B
tetradic
#4B45D3 #D34586 #CDD345 #45D392
square
#4B45D3 #D34586 #CDD345 #45D392
split-complementary
#4B45D3 #D39245 #86D345
monochromatic
#221E7F #302AB1 #4B45D3 #7B76DF #ABA8EA

Accessibility & contrast

On white

6.79
#4B45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4B45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45D3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45D3#FFFFFF#000000##FFFFFF
##4B45D31.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0055D0
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b45d3;
/* rgb */ color: rgb(75, 69, 211);
/* oklch */ color: oklch(49.0% 0.210 277.2);
Tailwind
colors: {
  custom: {
    50: '#8d7ae2',
    500: '#4b45d3',
    950: '#000000',
  },
}
SCSS
$custom: #4b45d3;
$custom-light: #8d7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45d3",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 242.535,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.21002,
    "h": 277.2
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#4B45D3
secondary
#D5D89C
accent
#E543DE
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #4B45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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