#4B45CF#4B45CF

#4B45CF is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.6% C 0.205 H 277.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4B45CF
RGBrgb(75, 69, 207)
HSLhsl(243, 59%, 54%)
HSVhsv(243, 67%, 81%)
CMYKcmyk(63.8%, 66.7%, 0%, 18.8%)
CIE-LABlab(38.30, 43.69, -70.48)
CIE-LCHlch(38.30, 82.92, 301.79°)
OKLaboklab(48.64% 0.0267 -0.2033)
OKLCHoklch(48.64% 0.205 277.5)
XYZxyz(16.2886, 10.2558, 60.1406)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45CF #C9CF45
analogous
#4584CF #4B45CF #9045CF
triadic
#4B45CF #CF4B45 #45CF4B
tetradic
#4B45CF #CF4584 #C9CF45 #45CF90
square
#4B45CF #CF4584 #C9CF45 #45CF90
split-complementary
#4B45CF #CF9045 #84CF45
monochromatic
#23207A #322CAB #4B45CF #7A76DC #A9A6E8

Accessibility & contrast

On white

6.88
#4B45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4B45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45CF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45CF#FFFFFF#000000##FFFFFF
##4B45CF1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4b45cf;
/* rgb */ color: rgb(75, 69, 207);
/* oklch */ color: oklch(48.6% 0.205 277.5);
Tailwind
colors: {
  custom: {
    50: '#8c7adf',
    500: '#4b45cf',
    950: '#000000',
  },
}
SCSS
$custom: #4b45cf;
$custom-light: #8c7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45cf",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 242.609,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48639,
    "c": 0.20503,
    "h": 277.5
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#4B45CF
secondary
#D3D59B
accent
#E246DB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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