HSL(244, 78%, 45%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(244,78%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(244, 78%, 45%) | color: hsl(244, 78%, 45%) | |
| HEX | #2519CC | color: #2519CC | |
| RGB | rgb(37, 25, 204) | color: rgb(37, 25, 204) | |
| CMYK | cmyk(82%, 88%, 0%, 20%) | — | |
| HSV | hsv(244, 88%, 80%) | — | |
| HWB | hwb(244 10% 20%) | color: hwb(244 10% 20%) | |
| OKLCH | oklch(0.4065 0.2484 269.91) | color: oklch(0.4065 0.2484 269.91) | |
| Lab | lab(27.97 61.34 -85.88) | color: lab(27.97 61.34 -85.88) | |
| LCH | lch(27.97 105.54 305.54) | color: lch(27.97 105.54 305.54) |
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)
#2020A1 — rgb(32, 32, 161)
Deuteranopia (Green-blind)
#212196 — rgb(33, 33, 150)
Tritanopia (Blue-blind)
#247E77 — rgb(36, 126, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(244, 78%, 45%);
text
color: hsl(244, 78%, 45%);
border
border: 2px solid hsl(244, 78%, 45%);
gradient light
background: linear-gradient(to right, hsl(244, 78%, 65%), hsl(244, 78%, 45%));
gradient dark
background: linear-gradient(to right, hsl(244, 78%, 45%), hsl(244, 78%, 25%))
hex
background-color: #2519CC;
tailwind
bg-[hsl(244,78%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(244, 78%, 45%, 0.4);
css variable
--color-primary: hsl(244, 78%, 45%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(244, 78%, 45%)?
HEX: #2519CC | RGB: rgb(37, 25, 204) | CMYK: 82%, 88%, 0%, 20% | HSV: 244°, 88%, 80%. Copy any format from the conversion table above.
What colors go well with #2519CC?
The complementary color is HSL(64, 78%, 45%). For a triadic harmony, use hues 244°, 4°, and 124°. For analogous combinations, try hues 214° and 274°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(244, 78%, 45%) in CSS?
As HSL: color: hsl(244, 78%, 45%); — As HEX: color: #2519CC; — As RGB: color: rgb(37, 25, 204); — Tailwind CSS: bg-[hsl(244,78%,45%)] — CSS variable: --color-primary: hsl(244, 78%, 45%);