#4545CB#4545CB

#4545CB is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.9% C 0.201 H 275.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4545CB
RGBrgb(69, 69, 203)
HSLhsl(240, 56%, 53%)
HSVhsv(240, 66%, 80%)
CMYKcmyk(66%, 66%, 0%, 20.4%)
CIE-LABlab(37.54, 41.56, -69.42)
CIE-LCHlch(37.54, 80.91, 300.91°)
OKLaboklab(47.88% 0.0199 -0.2003)
OKLCHoklch(47.88% 0.201 275.7)
XYZxyz(15.3583, 9.8319, 57.5767)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545CB #CBCB45
analogous
#4588CB #4545CB #8845CB
triadic
#4545CB #CB4545 #45CB45
tetradic
#4545CB #CB4588 #CBCB45 #45CB88
square
#4545CB #CB4588 #CBCB45 #45CB88
split-complementary
#4545CB #CB8845 #88CB45
monochromatic
#212175 #2E2EA5 #4545CB #7575D8 #A5A5E6

Accessibility & contrast

On white

7.08
#4545CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4545CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4545CB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545CB#FFFFFF#000000##FFFFFF
##4545CB1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4545cb;
/* rgb */ color: rgb(69, 69, 203);
/* oklch */ color: oklch(47.9% 0.201 275.7);
Tailwind
colors: {
  custom: {
    50: '#8979dc',
    500: '#4545cb',
    950: '#000000',
  },
}
SCSS
$custom: #4545cb;
$custom-light: #8979dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4545cb",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47876,
    "c": 0.20133,
    "h": 275.7
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#4545CB
secondary
#D3D399
accent
#E048E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4545CB

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

Preview Lab → · Contrast checker → · Palette generator →

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