#4B45E2#4B45E2

#4B45E2 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.4% C 0.228 H 276.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4B45E2
RGBrgb(75, 69, 226)
HSLhsl(242, 73%, 58%)
HSVhsv(242, 69%, 89%)
CMYKcmyk(66.8%, 69.5%, 0%, 11.4%)
CIE-LABlab(39.98, 49.77, -78.62)
CIE-LCHlch(39.98, 93.04, 302.34°)
OKLaboklab(50.37% 0.0241 -0.2271)
OKLCHoklch(50.37% 0.228 276.1)
XYZxyz(18.7527, 11.2414, 73.1183)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45E2 #DCE245
analogous
#458DE2 #4B45E2 #9945E2
triadic
#4B45E2 #E24B45 #45E24B
tetradic
#4B45E2 #E2458D #DCE245 #45E299
square
#4B45E2 #E2458D #DCE245 #45E299
split-complementary
#4B45E2 #E29945 #8DE245
monochromatic
#1C1795 #2620CA #4B45E2 #7E7AEA #B1AFF3

Accessibility & contrast

On white

6.46
#4B45E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4B45E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45E2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45E2#FFFFFF#000000##FFFFFF
##4B45E21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0057DF
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4b45e2;
/* rgb */ color: rgb(75, 69, 226);
/* oklch */ color: oklch(50.4% 0.228 276.1);
Tailwind
colors: {
  custom: {
    50: '#907aec',
    500: '#4b45e2',
    950: '#000000',
  },
}
SCSS
$custom: #4b45e2;
$custom-light: #907aec;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45e2",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 242.293,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50368,
    "c": 0.22837,
    "h": 276.1
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#4B45E2
secondary
#DEE1A2
accent
#F038E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B45E2

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

Preview Lab → · Contrast checker → · Palette generator →

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