HSL(232, 61%, 28%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,61%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 61%, 28%) | color: hsl(232, 61%, 28%) | |
| HEX | #1C2773 | color: #1C2773 | |
| RGB | rgb(28, 39, 115) | color: rgb(28, 39, 115) | |
| CMYK | cmyk(76%, 66%, 0%, 55%) | — | |
| HSV | hsv(232, 76%, 45%) | — | |
| HWB | hwb(232 11% 55%) | color: hwb(232 11% 55%) | |
| OKLCH | oklch(0.3179 0.1302 270.59) | color: oklch(0.3179 0.1302 270.59) | |
| Lab | lab(19.78 23.9 -45.05) | color: lab(19.78 23.9 -45.05) | |
| LCH | lch(19.78 51 297.95) | color: lch(19.78 51 297.95) |
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)
#212161 — rgb(33, 33, 97)
Deuteranopia (Green-blind)
#201F5C — rgb(32, 31, 92)
Tritanopia (Blue-blind)
#1D524F — rgb(29, 82, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 61%, 28%);
text
color: hsl(232, 61%, 28%);
border
border: 2px solid hsl(232, 61%, 28%);
gradient light
background: linear-gradient(to right, hsl(232, 61%, 48%), hsl(232, 61%, 28%));
gradient dark
background: linear-gradient(to right, hsl(232, 61%, 28%), hsl(232, 61%, 8%))
hex
background-color: #1C2773;
tailwind
bg-[hsl(232,61%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 61%, 28%, 0.4);
css variable
--color-primary: hsl(232, 61%, 28%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 61%, 28%)?
HEX: #1C2773 | RGB: rgb(28, 39, 115) | CMYK: 76%, 66%, 0%, 55% | HSV: 232°, 76%, 45%. Copy any format from the conversion table above.
What colors go well with #1C2773?
The complementary color is HSL(52, 61%, 28%). 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, 61%, 28%) in CSS?
As HSL: color: hsl(232, 61%, 28%); — As HEX: color: #1C2773; — As RGB: color: rgb(28, 39, 115); — Tailwind CSS: bg-[hsl(232,61%,28%)] — CSS variable: --color-primary: hsl(232, 61%, 28%);