#5954CA#5954CA

#5954CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.178 H 280.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5954CA
RGBrgb(89, 84, 202)
HSLhsl(243, 53%, 56%)
HSVhsv(243, 58%, 79%)
CMYKcmyk(55.9%, 58.4%, 0%, 20.8%)
CIE-LABlab(42.35, 35.34, -60.94)
CIE-LCHlch(42.35, 70.45, 300.11°)
OKLaboklab(51.74% 0.0311 -0.1748)
OKLCHoklch(51.74% 0.178 280.1)
XYZxyz(17.9475, 12.7276, 57.3766)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5954CA #C5CA54
analogous
#548ACA #5954CA #9454CA
triadic
#5954CA #CA5954 #54CA59
tetradic
#5954CA #CA548A #C5CA54 #54CA94
square
#5954CA #CA548A #C5CA54 #54CA94
split-complementary
#5954CA #CA9454 #8ACA54
monochromatic
#2A277D #3A35AC #5954CA #8683D8 #B4B1E7

Accessibility & contrast

On white

5.92
#5954CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5954CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5954CA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5954CA#FFFFFF#000000##FFFFFF
##5954CA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#1E7087
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5954ca;
/* rgb */ color: rgb(89, 84, 202);
/* oklch */ color: oklch(51.7% 0.178 280.1);
Tailwind
colors: {
  custom: {
    50: '#9284db',
    500: '#5954ca',
    950: '#000000',
  },
}
SCSS
$custom: #5954ca;
$custom-light: #9284db;
$custom-dark: #000000;
JSON
{
  "hex": "#5954ca",
  "rgb": {
    "r": 89,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 242.542,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.17756,
    "h": 280.1
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#5954CA
secondary
#D3D5A5
accent
#DC4CD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5954CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5954CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva