#545FE6#545FE6

#545FE6 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.5% C 0.202 H 274.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#545FE6
RGBrgb(84, 95, 230)
HSLhsl(235, 74%, 62%)
HSVhsv(235, 63%, 90%)
CMYKcmyk(63.5%, 58.7%, 0%, 9.8%)
CIE-LABlab(46.69, 36.92, -69.90)
CIE-LCHlch(46.69, 79.05, 297.84°)
OKLaboklab(55.51% 0.0149 -0.2012)
OKLCHoklch(55.51% 0.202 274.2)
XYZxyz(22.0266, 15.7805, 76.7328)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FE6 #E6DB54
analogous
#54A8E6 #545FE6 #9254E6
triadic
#545FE6 #E6545F #5FE654
tetradic
#545FE6 #E654A8 #E6DB54 #54E692
square
#545FE6 #E654A8 #E6DB54 #54E692
split-complementary
#545FE6 #E69254 #A8E654
monochromatic
#1823A7 #202EDD #545FE6 #8991EE #BFC3F6

Accessibility & contrast

On white

5.05
#545FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#545FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FE6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FE6#FFFFFF#000000##FFFFFF
##545FE61.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#008099
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #545fe6;
/* rgb */ color: rgb(84, 95, 230);
/* oklch */ color: oklch(55.5% 0.202 274.2);
Tailwind
colors: {
  custom: {
    50: '#938cef',
    500: '#545fe6',
    950: '#000000',
  },
}
SCSS
$custom: #545fe6;
$custom-light: #938cef;
$custom-dark: #000000;
JSON
{
  "hex": "#545fe6",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 235.479,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.20176,
    "h": 274.2
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#545FE6
secondary
#E6E2B0
accent
#C80FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #545FE6

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

Preview Lab → · Contrast checker → · Palette generator →

#545FE6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva