#4B45DB#4B45DB

#4B45DB is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.7% C 0.220 H 276.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4B45DB
RGBrgb(75, 69, 219)
HSLhsl(242, 68%, 56%)
HSVhsv(242, 68%, 86%)
CMYKcmyk(65.8%, 68.5%, 0%, 14.1%)
CIE-LABlab(39.35, 47.54, -75.66)
CIE-LCHlch(39.35, 89.35, 302.14°)
OKLaboklab(49.72% 0.0251 -0.2184)
OKLCHoklch(49.72% 0.22 276.6)
XYZxyz(17.8118, 10.8650, 68.1626)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B45DB #D5DB45
analogous
#458ADB #4B45DB #9645DB
triadic
#4B45DB #DB4B45 #45DB4B
tetradic
#4B45DB #DB458A #D5DB45 #45DB96
square
#4B45DB #DB458A #D5DB45 #45DB96
split-complementary
#4B45DB #DB9645 #8ADB45
monochromatic
#1F1B8B #2B25BE #4B45DB #7D78E5 #AEACEF

Accessibility & contrast

On white

6.62
#4B45DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4B45DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B45DB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B45DB#FFFFFF#000000##FFFFFF
##4B45DB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#0056D8
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4b45db;
/* rgb */ color: rgb(75, 69, 219);
/* oklch */ color: oklch(49.7% 0.220 276.6);
Tailwind
colors: {
  custom: {
    50: '#8f7ae7',
    500: '#4b45db',
    950: '#000000',
  },
}
SCSS
$custom: #4b45db;
$custom-light: #8f7ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b45db",
  "rgb": {
    "r": 75,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 242.4,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.21988,
    "h": 276.6
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#4B45DB
secondary
#DADD9F
accent
#EA3DE4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B45DB

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

Preview Lab → · Contrast checker → · Palette generator →

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