#545FBB#545FBB

#545FBB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.143 H 275.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#545FBB
RGBrgb(84, 95, 187)
HSLhsl(234, 43%, 53%)
HSVhsv(234, 55%, 73%)
CMYKcmyk(55.1%, 49.2%, 0%, 26.7%)
CIE-LABlab(43.74, 22.65, -50.02)
CIE-LCHlch(43.74, 54.91, 294.36°)
OKLaboklab(52.36% 0.013 -0.1427)
OKLCHoklch(52.36% 0.143 275.2)
XYZxyz(16.7151, 13.6559, 48.7591)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FBB #BBB054
analogous
#5492BB #545FBB #7C54BB
triadic
#545FBB #BB545F #5FBB54
tetradic
#545FBB #BB5492 #BBB054 #54BB7C
square
#545FBB #BB5492 #BBB054 #54BB7C
split-complementary
#545FBB #BB7C54 #92BB54
monochromatic
#2A316A #3C4596 #545FBB #8088CC #ACB1DE

Accessibility & contrast

On white

5.63
#545FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#545FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FBB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FBB#FFFFFF#000000##FFFFFF
##545FBB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#1F7384
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #545fbb;
/* rgb */ color: rgb(84, 95, 187);
/* oklch */ color: oklch(52.4% 0.143 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c8cd0',
    500: '#545fbb',
    950: '#000000',
  },
}
SCSS
$custom: #545fbb;
$custom-light: #8c8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#545fbb",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 233.592,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52364,
    "c": 0.14332,
    "h": 275.2
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

primary
#545FBB
secondary
#CCC79F
accent
#C555D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #545FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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