#545FC3#545FC3

#545FC3 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.155 H 275.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#545FC3
RGBrgb(84, 95, 195)
HSLhsl(234, 48%, 55%)
HSVhsv(234, 57%, 76%)
CMYKcmyk(56.9%, 51.3%, 0%, 23.5%)
CIE-LABlab(44.24, 25.29, -53.85)
CIE-LCHlch(44.24, 59.49, 295.16°)
OKLaboklab(52.91% 0.0137 -0.154)
OKLCHoklch(52.91% 0.155 275.1)
XYZxyz(17.5955, 14.0081, 53.3958)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FC3 #C3B854
analogous
#5497C3 #545FC3 #8154C3
triadic
#545FC3 #C3545F #5FC354
tetradic
#545FC3 #C35497 #C3B854 #54C381
square
#545FC3 #C35497 #C3B854 #54C381
split-complementary
#545FC3 #C38154 #97C354
monochromatic
#293074 #3943A1 #545FC3 #8189D3 #AFB4E3

Accessibility & contrast

On white

5.52
#545FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#545FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FC3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FC3#FFFFFF#000000##FFFFFF
##545FC31.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296DC7
Deuteranopia (green-blind)
#1364C1
Tritanopia (blue-blind)
#0F7688
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #545fc3;
/* rgb */ color: rgb(84, 95, 195);
/* oklch */ color: oklch(52.9% 0.155 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d8cd6',
    500: '#545fc3',
    950: '#000000',
  },
}
SCSS
$custom: #545fc3;
$custom-light: #8d8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#545fc3",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 234.054,
    "s": 48.052,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.15459,
    "h": 275.1
  },
  "luminance": 0.14009
}

Semantic roles & 50–950 ramp

primary
#545FC3
secondary
#D1CCA2
accent
#CA50D8
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #545FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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