#4B45CB#4B45CB

#4B45CB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.200 H 277.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4B45CB
RGBrgb(75, 69, 203)
HSLhsl(243, 56%, 53%)
HSVhsv(243, 66%, 80%)
CMYKcmyk(63.1%, 66%, 0%, 20.4%)
CIE-LABlab(37.95, 42.39, -68.73)
CIE-LCHlch(37.95, 80.75, 301.67°)
OKLaboklab(48.29% 0.0272 -0.1981)
OKLCHoklch(48.29% 0.2 277.8)
XYZxyz(15.8058, 10.0626, 57.5977)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45CB #C5CB45
analogous
#4582CB #4B45CB #8E45CB
triadic
#4B45CB #CB4B45 #45CB4B
tetradic
#4B45CB #CB4582 #C5CB45 #45CB8E
square
#4B45CB #CB4582 #C5CB45 #45CB8E
split-complementary
#4B45CB #CB8E45 #82CB45
monochromatic
#242175 #332EA5 #4B45CB #7975D8 #A8A5E6

Accessibility & contrast

On white

6.97
#4B45CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4B45CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45CB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45CB#FFFFFF#000000##FFFFFF
##4B45CB1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4b45cb;
/* rgb */ color: rgb(75, 69, 203);
/* oklch */ color: oklch(48.3% 0.200 277.8);
Tailwind
colors: {
  custom: {
    50: '#8c79dc',
    500: '#4b45cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b45cb;
$custom-light: #8c79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45cb",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 242.687,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48285,
    "c": 0.19999,
    "h": 277.8
  },
  "luminance": 0.10064
}

Semantic roles & 50–950 ramp

primary
#4B45CB
secondary
#D0D399
accent
#E048D9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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