#4B45D7#4B45D7

#4B45D7 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.215 H 276.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4B45D7
RGBrgb(75, 69, 215)
HSLhsl(242, 65%, 56%)
HSVhsv(242, 68%, 84%)
CMYKcmyk(65.1%, 67.9%, 0%, 15.7%)
CIE-LABlab(39.00, 46.26, -73.94)
CIE-LCHlch(39.00, 87.22, 302.03°)
OKLaboklab(49.36% 0.0257 -0.2134)
OKLCHoklch(49.36% 0.215 276.9)
XYZxyz(17.2915, 10.6569, 65.4226)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45D7 #D1D745
analogous
#4588D7 #4B45D7 #9445D7
triadic
#4B45D7 #D74B45 #45D74B
tetradic
#4B45D7 #D74588 #D1D745 #45D794
square
#4B45D7 #D74588 #D1D745 #45D794
split-complementary
#4B45D7 #D79445 #88D745
monochromatic
#211D85 #2D27B7 #4B45D7 #7C77E2 #ACAAED

Accessibility & contrast

On white

6.71
#4B45D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4B45D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45D7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45D7#FFFFFF#000000##FFFFFF
##4B45D71.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0056D4
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4b45d7;
/* rgb */ color: rgb(75, 69, 215);
/* oklch */ color: oklch(49.4% 0.215 276.9);
Tailwind
colors: {
  custom: {
    50: '#8e7ae5',
    500: '#4b45d7',
    950: '#000000',
  },
}
SCSS
$custom: #4b45d7;
$custom-light: #8e7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45d7",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 242.466,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49358,
    "c": 0.21497,
    "h": 276.9
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#4B45D7
secondary
#D8DA9E
accent
#E840E1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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