#545FBA#545FBA

#545FBA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.142 H 275.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#545FBA
RGBrgb(84, 95, 186)
HSLhsl(234, 43%, 53%)
HSVhsv(234, 55%, 73%)
CMYKcmyk(54.8%, 48.9%, 0%, 27.1%)
CIE-LABlab(43.67, 22.32, -49.54)
CIE-LCHlch(43.67, 54.33, 294.26°)
OKLaboklab(52.3% 0.0128 -0.1413)
OKLCHoklch(52.3% 0.142 275.2)
XYZxyz(16.6084, 13.6133, 48.1973)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FBA #BAAF54
analogous
#5492BA #545FBA #7C54BA
triadic
#545FBA #BA545F #5FBA54
tetradic
#545FBA #BA5492 #BAAF54 #54BA7C
square
#545FBA #BA5492 #BAAF54 #54BA7C
split-complementary
#545FBA #BA7C54 #92BA54
monochromatic
#2A3169 #3C4695 #545FBA #8088CC #ABB1DD

Accessibility & contrast

On white

5.64
#545FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#545FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FBA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FBA#FFFFFF#000000##FFFFFF
##545FBA1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBD
Deuteranopia (green-blind)
#2663B8
Tritanopia (blue-blind)
#207383
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545fba;
/* rgb */ color: rgb(84, 95, 186);
/* oklch */ color: oklch(52.3% 0.142 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c8ccf',
    500: '#545fba',
    950: '#000000',
  },
}
SCSS
$custom: #545fba;
$custom-light: #8c8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#545fba",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 233.529,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.14189,
    "h": 275.2
  },
  "luminance": 0.13614
}

Semantic roles & 50–950 ramp

primary
#545FBA
secondary
#CBC69F
accent
#C556D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #545FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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