#545F94#545F94

#545F94 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.0% C 0.086 H 274.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#545F94
RGBrgb(84, 95, 148)
HSLhsl(230, 28%, 45%)
HSVhsv(230, 43%, 58%)
CMYKcmyk(43.2%, 35.8%, 0%, 42%)
CIE-LABlab(41.54, 10.19, -30.46)
CIE-LCHlch(41.54, 32.12, 288.50°)
OKLaboklab(49.98% 0.006 -0.0855)
OKLCHoklch(49.98% 0.086 274)
XYZxyz(13.0920, 12.2067, 29.6775)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F94 #948954
analogous
#547F94 #545F94 #695494
triadic
#545F94 #94545F #5F9454
tetradic
#545F94 #94547F #948954 #549469
square
#545F94 #94547F #948954 #549469
split-complementary
#545F94 #946954 #7F9454
monochromatic
#282D46 #3E466D #545F94 #757FB1 #9CA3C7

Accessibility & contrast

On white

6.10
#545F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#545F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F94
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F94#FFFFFF#000000##FFFFFF
##545F941.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6596
Deuteranopia (green-blind)
#476093
Tritanopia (blue-blind)
#3F6A72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #545f94;
/* rgb */ color: rgb(84, 95, 148);
/* oklch */ color: oklch(50.0% 0.086 274.0);
Tailwind
colors: {
  custom: {
    50: '#878cb3',
    500: '#545f94',
    950: '#000000',
  },
}
SCSS
$custom: #545f94;
$custom-light: #878cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#545f94",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 229.688,
    "s": 27.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.08573,
    "h": 274
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#545F94
secondary
#B4AE90
accent
#B364C4
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #545F94

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

Preview Lab → · Contrast checker → · Palette generator →

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