#4B45CA#4B45CA

#4B45CA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.2% C 0.199 H 277.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4B45CA
RGBrgb(75, 69, 202)
HSLhsl(243, 56%, 53%)
HSVhsv(243, 66%, 79%)
CMYKcmyk(62.9%, 65.8%, 0%, 20.8%)
CIE-LABlab(37.87, 42.07, -68.28)
CIE-LCHlch(37.87, 80.20, 301.64°)
OKLaboklab(48.2% 0.0273 -0.1968)
OKLCHoklch(48.2% 0.199 277.9)
XYZxyz(15.6870, 10.0151, 56.9721)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45CA #C4CA45
analogous
#4581CA #4B45CA #8D45CA
triadic
#4B45CA #CA4B45 #45CA4B
tetradic
#4B45CA #CA4581 #C4CA45 #45CA8D
square
#4B45CA #CA4581 #C4CA45 #45CA8D
split-complementary
#4B45CA #CA8D45 #81CA45
monochromatic
#252174 #342FA3 #4B45CA #7975D8 #A7A4E5

Accessibility & contrast

On white

6.99
#4B45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#4B45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45CA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45CA#FFFFFF#000000##FFFFFF
##4B45CA1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4b45ca;
/* rgb */ color: rgb(75, 69, 202);
/* oklch */ color: oklch(48.2% 0.199 277.9);
Tailwind
colors: {
  custom: {
    50: '#8b79db',
    500: '#4b45ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b45ca;
$custom-light: #8b79db;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45ca",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 242.707,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48197,
    "c": 0.19873,
    "h": 277.9
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#4B45CA
secondary
#CFD299
accent
#DF49D8
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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