#54598F#54598F

#54598F is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.4% C 0.087 H 278.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#54598F
RGBrgb(84, 89, 143)
HSLhsl(235, 26%, 45%)
HSVhsv(235, 41%, 56%)
CMYKcmyk(41.3%, 37.8%, 0%, 43.9%)
CIE-LABlab(39.60, 12.46, -30.50)
CIE-LCHlch(39.60, 32.95, 292.21°)
OKLaboklab(48.4% 0.013 -0.0856)
OKLCHoklch(48.4% 0.087 278.6)
XYZxyz(12.1850, 11.0122, 27.4648)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54598F #8F8A54
analogous
#54778F #54598F #6D548F
triadic
#54598F #8F5459 #598F54
tetradic
#54598F #8F5477 #8F8A54 #548F6D
square
#54598F #8F5477 #8F8A54 #548F6D
split-complementary
#54598F #8F6D54 #778F54
monochromatic
#272942 #3D4168 #54598F #7378AD #9A9DC4

Accessibility & contrast

On white

6.56
#54598F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#54598F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54598F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54598F#FFFFFF#000000##FFFFFF
##54598F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476091
Deuteranopia (green-blind)
#435B8E
Tritanopia (blue-blind)
#42646D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #54598f;
/* rgb */ color: rgb(84, 89, 143);
/* oklch */ color: oklch(48.4% 0.087 278.6);
Tailwind
colors: {
  custom: {
    50: '#8787b0',
    500: '#54598f',
    950: '#000000',
  },
}
SCSS
$custom: #54598f;
$custom-light: #8787b0;
$custom-dark: #000000;
JSON
{
  "hex": "#54598f",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 143
  },
  "hsl": {
    "h": 234.915,
    "s": 25.991,
    "l": 44.51
  },
  "oklch": {
    "l": 0.484,
    "c": 0.08662,
    "h": 278.6
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#54598F
secondary
#B1AE8E
accent
#BA65C2
background
#F8F8FA
surface
#F0EFF4
border
#CBCACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #54598F

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

Preview Lab → · Contrast checker → · Palette generator →

#54598F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva