#545FAF#545FAF

#545FAF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.6% C 0.126 H 275.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#545FAF
RGBrgb(84, 95, 175)
HSLhsl(233, 36%, 51%)
HSVhsv(233, 52%, 69%)
CMYKcmyk(52%, 45.7%, 0%, 31.4%)
CIE-LABlab(43.01, 18.73, -44.17)
CIE-LCHlch(43.01, 47.97, 292.98°)
OKLaboklab(51.58% 0.0114 -0.1255)
OKLCHoklch(51.58% 0.126 275.2)
XYZxyz(15.4838, 13.1634, 42.2740)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545FAF #AFA454
analogous
#548CAF #545FAF #7654AF
triadic
#545FAF #AF545F #5FAF54
tetradic
#545FAF #AF548C #AFA454 #54AF76
square
#545FAF #AF548C #AFA454 #54AF76
split-complementary
#545FAF #AF7654 #8CAF54
monochromatic
#2C325D #3F4887 #545FAF #7E86C3 #A7ADD6

Accessibility & contrast

On white

5.78
#545FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#545FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545FAF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545FAF#FFFFFF#000000##FFFFFF
##545FAF1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B2
Deuteranopia (green-blind)
#3362AD
Tritanopia (blue-blind)
#2D707E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #545faf;
/* rgb */ color: rgb(84, 95, 175);
/* oklch */ color: oklch(51.6% 0.126 275.2);
Tailwind
colors: {
  custom: {
    50: '#8a8cc7',
    500: '#545faf',
    950: '#000000',
  },
}
SCSS
$custom: #545faf;
$custom-light: #8a8cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#545faf",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 232.747,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.12605,
    "h": 275.2
  },
  "luminance": 0.13164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #545FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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