#4B45D8#4B45D8

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

Color values

HEX#4B45D8
RGBrgb(75, 69, 216)
HSLhsl(242, 65%, 56%)
HSVhsv(242, 68%, 85%)
CMYKcmyk(65.3%, 68.1%, 0%, 15.3%)
CIE-LABlab(39.09, 46.58, -74.37)
CIE-LCHlch(39.09, 87.76, 302.06°)
OKLaboklab(49.45% 0.0256 -0.2147)
OKLCHoklch(49.45% 0.216 276.8)
XYZxyz(17.4204, 10.7085, 66.1013)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45D8 #D2D845
analogous
#4588D8 #4B45D8 #9445D8
triadic
#4B45D8 #D84B45 #45D84B
tetradic
#4B45D8 #D84588 #D2D845 #45D894
square
#4B45D8 #D84588 #D2D845 #45D894
split-complementary
#4B45D8 #D89445 #88D845
monochromatic
#211C86 #2D27B9 #4B45D8 #7C78E3 #ADAAED

Accessibility & contrast

On white

6.68
#4B45D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4B45D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45D8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45D8#FFFFFF#000000##FFFFFF
##4B45D81.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0056D5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4b45d8;
/* rgb */ color: rgb(75, 69, 216);
/* oklch */ color: oklch(49.4% 0.216 276.8);
Tailwind
colors: {
  custom: {
    50: '#8e7ae5',
    500: '#4b45d8',
    950: '#000000',
  },
}
SCSS
$custom: #4b45d8;
$custom-light: #8e7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45d8",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 242.449,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49448,
    "c": 0.2162,
    "h": 276.8
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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