#545FCA#545FCA

#545FCA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.164 H 275.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#545FCA
RGBrgb(84, 95, 202)
HSLhsl(234, 53%, 56%)
HSVhsv(234, 58%, 79%)
CMYKcmyk(58.4%, 53%, 0%, 20.8%)
CIE-LABlab(44.71, 27.61, -57.15)
CIE-LCHlch(44.71, 63.47, 295.79°)
OKLaboklab(53.41% 0.0142 -0.1637)
OKLCHoklch(53.41% 0.164 275)
XYZxyz(18.4056, 14.3321, 57.6621)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FCA #CABF54
analogous
#549ACA #545FCA #8454CA
triadic
#545FCA #CA545F #5FCA54
tetradic
#545FCA #CA549A #CABF54 #54CA84
square
#545FCA #CA549A #CABF54 #54CA84
split-complementary
#545FCA #CA8454 #9ACA54
monochromatic
#272F7D #3540AC #545FCA #838BD8 #B1B6E7

Accessibility & contrast

On white

5.43
#545FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#545FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FCA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FCA#FFFFFF#000000##FFFFFF
##545FCA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #545fca;
/* rgb */ color: rgb(84, 95, 202);
/* oklch */ color: oklch(53.4% 0.164 275.0);
Tailwind
colors: {
  custom: {
    50: '#8e8cdb',
    500: '#545fca',
    950: '#000000',
  },
}
SCSS
$custom: #545fca;
$custom-light: #8e8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#545fca",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 234.407,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53406,
    "c": 0.16431,
    "h": 275
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#545FCA
secondary
#D5D1A5
accent
#CF4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #545FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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