#545EAF#545EAF

#545EAF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.127 H 275.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#545EAF
RGBrgb(84, 94, 175)
HSLhsl(233, 36%, 51%)
HSVhsv(233, 52%, 69%)
CMYKcmyk(52%, 46.3%, 0%, 31.4%)
CIE-LABlab(42.74, 19.36, -44.59)
CIE-LCHlch(42.74, 48.62, 293.47°)
OKLaboklab(51.37% 0.0126 -0.1268)
OKLCHoklch(51.37% 0.127 275.7)
XYZxyz(15.3943, 12.9844, 42.2442)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545EAF #AFA554
analogous
#548BAF #545EAF #7754AF
triadic
#545EAF #AF545E #5EAF54
tetradic
#545EAF #AF548B #AFA554 #54AF77
square
#545EAF #AF548B #AFA554 #54AF77
split-complementary
#545EAF #AF7754 #8BAF54
monochromatic
#2C315D #3F4787 #545EAF #7E85C3 #A7ADD6

Accessibility & contrast

On white

5.84
#545EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#545EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545EAF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545EAF#FFFFFF#000000##FFFFFF
##545EAF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#3161AD
Tritanopia (blue-blind)
#2D707E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #545eaf;
/* rgb */ color: rgb(84, 94, 175);
/* oklch */ color: oklch(51.4% 0.127 275.7);
Tailwind
colors: {
  custom: {
    50: '#8a8bc7',
    500: '#545eaf',
    950: '#000000',
  },
}
SCSS
$custom: #545eaf;
$custom-light: #8a8bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#545eaf",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 233.407,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51374,
    "c": 0.12742,
    "h": 275.7
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#545EAF
secondary
#C4BF9B
accent
#C05CCC
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #545EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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