HSL(232, 54%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,54%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 54%, 32%) | color: hsl(232, 54%, 32%) | |
| HEX | #26317E | color: #26317E | |
| RGB | rgb(38, 49, 126) | color: rgb(38, 49, 126) | |
| CMYK | cmyk(70%, 61%, 0%, 51%) | — | |
| HSV | hsv(233, 70%, 49%) | — | |
| HWB | hwb(233 15% 51%) | color: hwb(233 15% 51%) | |
| OKLCH | oklch(0.3541 0.1299 271.83) | color: oklch(0.3541 0.1299 271.83) | |
| Lab | lab(24.05 22.66 -45.08) | color: lab(24.05 22.66 -45.08) | |
| LCH | lch(24.05 50.45 296.69) | color: lch(24.05 50.45 296.69) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#2B2B6B — rgb(43, 43, 107)
Deuteranopia (Green-blind)
#2A2967 — rgb(42, 41, 103)
Tritanopia (Blue-blind)
#275D59 — rgb(39, 93, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 54%, 32%);
text
color: hsl(232, 54%, 32%);
border
border: 2px solid hsl(232, 54%, 32%);
gradient light
background: linear-gradient(to right, hsl(232, 54%, 52%), hsl(232, 54%, 32%));
gradient dark
background: linear-gradient(to right, hsl(232, 54%, 32%), hsl(232, 54%, 12%))
hex
background-color: #26317E;
tailwind
bg-[hsl(232,54%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 54%, 32%, 0.4);
css variable
--color-primary: hsl(232, 54%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 54%, 32%)?
HEX: #26317E | RGB: rgb(38, 49, 126) | CMYK: 70%, 61%, 0%, 51% | HSV: 233°, 70%, 49%. Copy any format from the conversion table above.
What colors go well with #26317E?
The complementary color is HSL(52, 54%, 32%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 54%, 32%) in CSS?
As HSL: color: hsl(232, 54%, 32%); — As HEX: color: #26317E; — As RGB: color: rgb(38, 49, 126); — Tailwind CSS: bg-[hsl(232,54%,32%)] — CSS variable: --color-primary: hsl(232, 54%, 32%);