#545FC5#545FC5

#545FC5 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.157 H 275.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#545FC5
RGBrgb(84, 95, 197)
HSLhsl(234, 49%, 55%)
HSVhsv(234, 57%, 77%)
CMYKcmyk(57.4%, 51.8%, 0%, 22.7%)
CIE-LABlab(44.37, 25.95, -54.79)
CIE-LCHlch(44.37, 60.63, 295.34°)
OKLaboklab(53.05% 0.0139 -0.1568)
OKLCHoklch(53.05% 0.157 275.1)
XYZxyz(17.8231, 14.0992, 54.5947)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FC5 #C5BA54
analogous
#5498C5 #545FC5 #8154C5
triadic
#545FC5 #C5545F #5FC554
tetradic
#545FC5 #C55498 #C5BA54 #54C581
square
#545FC5 #C55498 #C5BA54 #54C581
split-complementary
#545FC5 #C58154 #98C554
monochromatic
#283076 #3842A4 #545FC5 #828AD5 #AFB5E4

Accessibility & contrast

On white

5.50
#545FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#545FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FC5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FC5#FFFFFF#000000##FFFFFF
##545FC51.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266EC9
Deuteranopia (green-blind)
#0C64C3
Tritanopia (blue-blind)
#097689
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545fc5;
/* rgb */ color: rgb(84, 95, 197);
/* oklch */ color: oklch(53.1% 0.157 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d8cd7',
    500: '#545fc5',
    950: '#000000',
  },
}
SCSS
$custom: #545fc5;
$custom-light: #8d8cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#545fc5",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 234.159,
    "s": 49.345,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.15738,
    "h": 275.1
  },
  "luminance": 0.141
}

Semantic roles & 50–950 ramp

primary
#545FC5
secondary
#D2CDA3
accent
#CB4FD9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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