#4B45D5#4B45D5

#4B45D5 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.2% C 0.212 H 277.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4B45D5
RGBrgb(75, 69, 213)
HSLhsl(243, 63%, 55%)
HSVhsv(243, 68%, 84%)
CMYKcmyk(64.8%, 67.6%, 0%, 16.5%)
CIE-LABlab(38.82, 45.62, -73.08)
CIE-LCHlch(38.82, 86.15, 301.97°)
OKLaboklab(49.18% 0.026 -0.2109)
OKLCHoklch(49.18% 0.213 277)
XYZxyz(17.0361, 10.5548, 64.0774)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45D5 #CFD545
analogous
#4587D5 #4B45D5 #9345D5
triadic
#4B45D5 #D54B45 #45D54B
tetradic
#4B45D5 #D54587 #CFD545 #45D593
square
#4B45D5 #D54587 #CFD545 #45D593
split-complementary
#4B45D5 #D59345 #87D545
monochromatic
#221D82 #2E29B4 #4B45D5 #7B77E0 #ACA9EC

Accessibility & contrast

On white

6.75
#4B45D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4B45D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45D5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45D5#FFFFFF#000000##FFFFFF
##4B45D51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0055D2
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b45d5;
/* rgb */ color: rgb(75, 69, 213);
/* oklch */ color: oklch(49.2% 0.212 277.0);
Tailwind
colors: {
  custom: {
    50: '#8d7ae3',
    500: '#4b45d5',
    950: '#000000',
  },
}
SCSS
$custom: #4b45d5;
$custom-light: #8d7ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45d5",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 242.5,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.2125,
    "h": 277
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#4B45D5
secondary
#D6D99D
accent
#E642DF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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