#4548C5#4548C5

#4548C5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.190 H 275.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4548C5
RGBrgb(69, 72, 197)
HSLhsl(239, 52%, 52%)
HSVhsv(239, 65%, 77%)
CMYKcmyk(65%, 63.5%, 0%, 22.7%)
CIE-LABlab(37.72, 37.74, -65.64)
CIE-LCHlch(37.72, 75.72, 299.90°)
OKLaboklab(47.85% 0.0181 -0.1893)
OKLCHoklch(47.85% 0.19 275.5)
XYZxyz(14.8463, 9.9299, 53.9468)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4548C5 #C5C245
analogous
#4588C5 #4548C5 #8245C5
triadic
#4548C5 #C54548 #48C545
tetradic
#4548C5 #C54588 #C5C245 #45C582
square
#4548C5 #C54588 #C5C245 #45C582
split-complementary
#4548C5 #C58245 #88C545
monochromatic
#22246D #31339C #4548C5 #7476D4 #A2A4E2

Accessibility & contrast

On white

7.03
#4548C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4548C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4548C5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4548C5#FFFFFF#000000##FFFFFF
##4548C51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0053C3
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4548c5;
/* rgb */ color: rgb(69, 72, 197);
/* oklch */ color: oklch(47.8% 0.190 275.5);
Tailwind
colors: {
  custom: {
    50: '#877bd8',
    500: '#4548c5',
    950: '#000000',
  },
}
SCSS
$custom: #4548c5;
$custom-light: #877bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4548c5",
  "rgb": {
    "r": 69,
    "g": 72,
    "b": 197
  },
  "hsl": {
    "h": 238.594,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47849,
    "c": 0.19012,
    "h": 275.5
  },
  "luminance": 0.09931
}

Semantic roles & 50–950 ramp

primary
#4548C5
secondary
#CFCE97
accent
#D94CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4548C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4548C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva