#4545E7#4545E7

#4545E7 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.5% C 0.236 H 274.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4545E7
RGBrgb(69, 69, 231)
HSLhsl(240, 77%, 59%)
HSVhsv(240, 70%, 91%)
CMYKcmyk(70.1%, 70.1%, 0%, 9.4%)
CIE-LABlab(40.06, 50.71, -81.34)
CIE-LCHlch(40.06, 95.85, 301.94°)
OKLaboklab(50.46% 0.0163 -0.2352)
OKLCHoklch(50.46% 0.236 274)
XYZxyz(19.0014, 11.2891, 76.7634)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4545E7 #E7E745
analogous
#4596E7 #4545E7 #9645E7
triadic
#4545E7 #E74545 #45E745
tetradic
#4545E7 #E74596 #E7E745 #45E796
square
#4545E7 #E74596 #E7E745 #45E796
split-complementary
#4545E7 #E79645 #96E745
monochromatic
#14149D #1B1BD4 #4545E7 #7B7BEE #B1B1F5

Accessibility & contrast

On white

6.45
#4545E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4545E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4545E7
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4545E7#FFFFFF#000000##FFFFFF
##4545E71.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EC
Deuteranopia (green-blind)
#0057E4
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4545e7;
/* rgb */ color: rgb(69, 69, 231);
/* oklch */ color: oklch(50.5% 0.236 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e7af0',
    500: '#4545e7',
    950: '#000000',
  },
}
SCSS
$custom: #4545e7;
$custom-light: #8e7af0;
$custom-dark: #000000;
JSON
{
  "hex": "#4545e7",
  "rgb": {
    "r": 69,
    "g": 69,
    "b": 231
  },
  "hsl": {
    "h": 240,
    "s": 77.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.50464,
    "c": 0.23577,
    "h": 274
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#4545E7
secondary
#E4E4A4
accent
#F434F4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4545E7

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

Preview Lab → · Contrast checker → · Palette generator →

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