#4548A2#4548A2

#4548A2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.143 H 277.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4548A2
RGBrgb(69, 72, 162)
HSLhsl(238, 40%, 45%)
HSVhsv(238, 57%, 64%)
CMYKcmyk(57.4%, 55.6%, 0%, 36.5%)
CIE-LABlab(35.02, 25.88, -49.33)
CIE-LCHlch(35.02, 55.71, 297.69°)
OKLaboklab(45.01% 0.0188 -0.1413)
OKLCHoklch(45.01% 0.143 277.6)
XYZxyz(11.2911, 8.5078, 35.2226)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4548A2 #A29F45
analogous
#4576A2 #4548A2 #7145A2
triadic
#4548A2 #A24548 #48A245
tetradic
#4548A2 #A24576 #A29F45 #45A271
square
#4548A2 #A24576 #A29F45 #45A271
split-complementary
#4548A2 #A27145 #76A245
monochromatic
#20224C #333577 #4548A2 #6669BE #9193D0

Accessibility & contrast

On white

7.77
#4548A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4548A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4548A2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4548A2#FFFFFF#000000##FFFFFF
##4548A21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#105D6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4548a2;
/* rgb */ color: rgb(69, 72, 162);
/* oklch */ color: oklch(45.0% 0.143 277.6);
Tailwind
colors: {
  custom: {
    50: '#817bbe',
    500: '#4548a2',
    950: '#000000',
  },
}
SCSS
$custom: #4548a2;
$custom-light: #817bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4548a2",
  "rgb": {
    "r": 69,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 238.065,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45009,
    "c": 0.14255,
    "h": 277.6
  },
  "luminance": 0.08509
}

Semantic roles & 50–950 ramp

primary
#4548A2
secondary
#BCBA87
accent
#CC58D0
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4548A2

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

Preview Lab → · Contrast checker → · Palette generator →

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