HSL(226, 97%, 33%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,97%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 97%, 33%) | color: hsl(226, 97%, 33%) | |
| HEX | #0329A6 | color: #0329A6 | |
| RGB | rgb(3, 41, 166) | color: rgb(3, 41, 166) | |
| CMYK | cmyk(98%, 75%, 0%, 35%) | — | |
| HSV | hsv(226, 98%, 65%) | — | |
| HWB | hwb(226 1% 35%) | color: hwb(226 1% 35%) | |
| OKLCH | oklch(0.3682 0.2 264.06) | color: oklch(0.3682 0.2 264.06) | |
| Lab | lab(24.82 40.51 -68.56) | color: lab(24.82 40.51 -68.56) | |
| LCH | lch(24.82 79.63 300.58) | color: lch(24.82 79.63 300.58) |
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)
#131488 — rgb(19, 20, 136)
Deuteranopia (Green-blind)
#110E81 — rgb(17, 14, 129)
Tritanopia (Blue-blind)
#05706B — rgb(5, 112, 107)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 97%, 33%);
text
color: hsl(226, 97%, 33%);
border
border: 2px solid hsl(226, 97%, 33%);
gradient light
background: linear-gradient(to right, hsl(226, 97%, 53%), hsl(226, 97%, 33%));
gradient dark
background: linear-gradient(to right, hsl(226, 97%, 33%), hsl(226, 97%, 13%))
hex
background-color: #0329A6;
tailwind
bg-[hsl(226,97%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 97%, 33%, 0.4);
css variable
--color-primary: hsl(226, 97%, 33%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 97%, 33%)?
HEX: #0329A6 | RGB: rgb(3, 41, 166) | CMYK: 98%, 75%, 0%, 35% | HSV: 226°, 98%, 65%. Copy any format from the conversion table above.
What colors go well with #0329A6?
The complementary color is HSL(46, 97%, 33%). For a triadic harmony, use hues 226°, 346°, and 106°. For analogous combinations, try hues 196° and 256°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(226, 97%, 33%) in CSS?
As HSL: color: hsl(226, 97%, 33%); — As HEX: color: #0329A6; — As RGB: color: rgb(3, 41, 166); — Tailwind CSS: bg-[hsl(226,97%,33%)] — CSS variable: --color-primary: hsl(226, 97%, 33%);