HSL(246, 83%, 22%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(246,83%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 83%, 22%) | color: hsl(246, 83%, 22%) | |
| HEX | #130A67 | color: #130A67 | |
| RGB | rgb(19, 10, 103) | color: rgb(19, 10, 103) | |
| CMYK | cmyk(82%, 90%, 0%, 60%) | — | |
| HSV | hsv(246, 90%, 40%) | — | |
| HWB | hwb(246 4% 60%) | color: hwb(246 4% 60%) | |
| OKLCH | oklch(0.2534 0.1473 272.6) | color: oklch(0.2534 0.1473 272.6) | |
| Lab | lab(11.51 36.27 -50.89) | color: lab(11.51 36.27 -50.89) | |
| LCH | lch(11.51 62.49 305.48) | color: lch(11.51 62.49 305.48) |
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)
#0F0F50 — rgb(15, 15, 80)
Deuteranopia (Green-blind)
#10104B — rgb(16, 16, 75)
Tritanopia (Blue-blind)
#133F3B — rgb(19, 63, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 83%, 22%);
text
color: hsl(246, 83%, 22%);
border
border: 2px solid hsl(246, 83%, 22%);
gradient light
background: linear-gradient(to right, hsl(246, 83%, 42%), hsl(246, 83%, 22%));
gradient dark
background: linear-gradient(to right, hsl(246, 83%, 22%), hsl(246, 83%, 2%))
hex
background-color: #130A67;
tailwind
bg-[hsl(246,83%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 83%, 22%, 0.4);
css variable
--color-primary: hsl(246, 83%, 22%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 83%, 22%)?
HEX: #130A67 | RGB: rgb(19, 10, 103) | CMYK: 82%, 90%, 0%, 60% | HSV: 246°, 90%, 40%. Copy any format from the conversion table above.
What colors go well with #130A67?
The complementary color is HSL(66, 83%, 22%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(246, 83%, 22%) in CSS?
As HSL: color: hsl(246, 83%, 22%); — As HEX: color: #130A67; — As RGB: color: rgb(19, 10, 103); — Tailwind CSS: bg-[hsl(246,83%,22%)] — CSS variable: --color-primary: hsl(246, 83%, 22%);