#554CBA#554CBA

#554CBA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.167 H 281.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#554CBA
RGBrgb(85, 76, 186)
HSLhsl(245, 44%, 51%)
HSVhsv(245, 59%, 73%)
CMYKcmyk(54.3%, 59.1%, 0%, 27.1%)
CIE-LABlab(38.98, 34.38, -57.11)
CIE-LCHlch(38.98, 66.66, 301.05°)
OKLaboklab(48.81% 0.0346 -0.1637)
OKLCHoklch(48.81% 0.167 281.9)
XYZxyz(15.1910, 10.6444, 47.6990)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#554CBA #B1BA4C
analogous
#4C7ABA #554CBA #8C4CBA
triadic
#554CBA #BA554C #4CBA55
tetradic
#554CBA #BA4C7A #B1BA4C #4CBA8C
square
#554CBA #BA4C7A #B1BA4C #4CBA8C
split-complementary
#554CBA #BA8C4C #7ABA4C
monochromatic
#2C2765 #3F3891 #554CBA #7F78CB #A9A4DC

Accessibility & contrast

On white

6.71
#554CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#554CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #554CBA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##554CBA#FFFFFF#000000##FFFFFF
##554CBA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#27667B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #554cba;
/* rgb */ color: rgb(85, 76, 186);
/* oklch */ color: oklch(48.8% 0.167 281.9);
Tailwind
colors: {
  custom: {
    50: '#8d7ecf',
    500: '#554cba',
    950: '#000000',
  },
}
SCSS
$custom: #554cba;
$custom-light: #8d7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#554cba",
  "rgb": {
    "r": 85,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 244.909,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48805,
    "c": 0.16732,
    "h": 281.9
  },
  "luminance": 0.10645
}

Semantic roles & 50–950 ramp

primary
#554CBA
secondary
#C5C999
accent
#D454CA
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #554CBA

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

Preview Lab → · Contrast checker → · Palette generator →

#554CBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva