HSL(244, 60%, 27%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(244,60%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(244, 60%, 27%) | color: hsl(244, 60%, 27%) | |
| HEX | #211C6E | color: #211C6E | |
| RGB | rgb(33, 28, 110) | color: rgb(33, 28, 110) | |
| CMYK | cmyk(70%, 75%, 0%, 57%) | — | |
| HSV | hsv(244, 75%, 43%) | — | |
| HWB | hwb(244 11% 57%) | color: hwb(244 11% 57%) | |
| OKLCH | oklch(0.2963 0.1354 276.9) | color: oklch(0.2963 0.1354 276.9) | |
| Lab | lab(16.89 30.04 -46.55) | color: lab(16.89 30.04 -46.55) | |
| LCH | lch(16.89 55.4 302.84) | color: lch(16.89 55.4 302.84) |
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)
#1F1F5A — rgb(31, 31, 90)
Deuteranopia (Green-blind)
#1F2055 — rgb(31, 32, 85)
Tritanopia (Blue-blind)
#214A47 — rgb(33, 74, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(244, 60%, 27%);
text
color: hsl(244, 60%, 27%);
border
border: 2px solid hsl(244, 60%, 27%);
gradient light
background: linear-gradient(to right, hsl(244, 60%, 47%), hsl(244, 60%, 27%));
gradient dark
background: linear-gradient(to right, hsl(244, 60%, 27%), hsl(244, 60%, 7%))
hex
background-color: #211C6E;
tailwind
bg-[hsl(244,60%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(244, 60%, 27%, 0.4);
css variable
--color-primary: hsl(244, 60%, 27%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(244, 60%, 27%)?
HEX: #211C6E | RGB: rgb(33, 28, 110) | CMYK: 70%, 75%, 0%, 57% | HSV: 244°, 75%, 43%. Copy any format from the conversion table above.
What colors go well with #211C6E?
The complementary color is HSL(64, 60%, 27%). 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, 60%, 27%) in CSS?
As HSL: color: hsl(244, 60%, 27%); — As HEX: color: #211C6E; — As RGB: color: rgb(33, 28, 110); — Tailwind CSS: bg-[hsl(244,60%,27%)] — CSS variable: --color-primary: hsl(244, 60%, 27%);