#51549D

A color in the Blue, Sky, Navy family

#51549d is a color in the Blue, Sky, Navy family: RGB(81, 84, 157), HSL(238°, 32%, 47%), CMYK(48%, 46%, 0%, 38%). Closest named color: darkslateblue. Contrast is 6.76:1 on white and 3.1:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#51549d
RGBrgb(81 84 157)
RGB (legacy)rgb(81, 84, 157)
RGB %rgb(32% 33% 62%)
HSLhsl(238 32% 47%)
HSV / HSBhsv(238, 48%, 62%)
HWBhwb(238 32% 38%)
CMYKcmyk(48%, 46%, 0%, 38%)
CIELAB (D50)lab(38.25 14.57 -40.88)
LCHlch(38.25 43.4 289.62)
OKLaboklab(0.4796 0.0187 -0.1143)
OKLCHoklch(0.4796 0.1158 279.3)
Decimal5330077

Properties

Color ToneBlue, Sky, Navy
Closest named colordarkslateblue ΔE 6.7
Closest web-safe color#666699
Hue238°
Saturation (HSL / HSV)32% / 48%
Lightness (HSL)47%
Brightness or Value (HSV)62%
Luminance (Rec.601 / Rec.709)36% / 35%
Relative luminance (WCAG)0.1052
Red / Green / Blue81 / 84 / 157

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.76:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.10:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 83.2 / -18.8 · As background with white / black text: Lc -88.2 / 20.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #51549d;
  --color-brand-oklch: oklch(47.96% 0.1158 279.3);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 84 157 / 50%); }
/* Tailwind CSS */
<div class="bg-[#51549d] text-[#51549d] border-[#51549d]">