#4545AF#4545AF

#4545AF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.165 H 277.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4545AF
RGBrgb(69, 69, 175)
HSLhsl(240, 43%, 48%)
HSVhsv(240, 61%, 69%)
CMYKcmyk(60.6%, 60.6%, 0%, 31.4%)
CIE-LABlab(35.23, 32.19, -56.75)
CIE-LCHlch(35.23, 65.24, 299.57°)
OKLaboklab(45.47% 0.0218 -0.1631)
OKLCHoklch(45.47% 0.165 277.6)
XYZxyz(12.3177, 8.6157, 41.5630)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545AF #AFAF45
analogous
#457AAF #4545AF #7A45AF
triadic
#4545AF #AF4545 #45AF45
tetradic
#4545AF #AF457A #AFAF45 #45AF7A
square
#4545AF #AF457A #AFAF45 #45AF7A
split-complementary
#4545AF #AF7A45 #7AAF45
monochromatic
#222257 #343483 #4545AF #6C6CC5 #9898D6

Accessibility & contrast

On white

7.71
#4545AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4545AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545AF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545AF#FFFFFF#000000##FFFFFF
##4545AF1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4545af;
/* rgb */ color: rgb(69, 69, 175);
/* oklch */ color: oklch(45.5% 0.165 277.6);
Tailwind
colors: {
  custom: {
    50: '#8479c8',
    500: '#4545af',
    950: '#000000',
  },
}
SCSS
$custom: #4545af;
$custom-light: #8479c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4545af",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45474,
    "c": 0.1646,
    "h": 277.6
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#4545AF
secondary
#C2C28D
accent
#D355D3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4545AF

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

Preview Lab → · Contrast checker → · Palette generator →

#4545AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva