HSL(226, 30%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,30%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 30%, 30%) | color: hsl(226, 30%, 30%) | |
| HEX | #364063 | color: #364063 | |
| RGB | rgb(54, 64, 99) | color: rgb(54, 64, 99) | |
| CMYK | cmyk(45%, 35%, 0%, 61%) | — | |
| HSV | hsv(227, 45%, 39%) | — | |
| HWB | hwb(227 21% 61%) | color: hwb(227 21% 61%) | |
| OKLCH | oklch(0.379 0.0615 271.09) | color: oklch(0.379 0.0615 271.09) | |
| Lab | lab(27.71 6.21 -21.94) | color: lab(27.71 6.21 -21.94) | |
| LCH | lch(27.71 22.8 285.8) | color: lch(27.71 22.8 285.8) |
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)
#3A3A5B — rgb(58, 58, 91)
Deuteranopia (Green-blind)
#3A3959 — rgb(58, 57, 89)
Tritanopia (Blue-blind)
#375452 — rgb(55, 84, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 30%, 30%);
text
color: hsl(226, 30%, 30%);
border
border: 2px solid hsl(226, 30%, 30%);
gradient light
background: linear-gradient(to right, hsl(226, 30%, 50%), hsl(226, 30%, 30%));
gradient dark
background: linear-gradient(to right, hsl(226, 30%, 30%), hsl(226, 30%, 10%))
hex
background-color: #364063;
tailwind
bg-[hsl(226,30%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 30%, 30%, 0.4);
css variable
--color-primary: hsl(226, 30%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 30%, 30%)?
HEX: #364063 | RGB: rgb(54, 64, 99) | CMYK: 45%, 35%, 0%, 61% | HSV: 227°, 45%, 39%. Copy any format from the conversion table above.
What colors go well with #364063?
The complementary color is HSL(46, 30%, 30%). 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, 30%, 30%) in CSS?
As HSL: color: hsl(226, 30%, 30%); — As HEX: color: #364063; — As RGB: color: rgb(54, 64, 99); — Tailwind CSS: bg-[hsl(226,30%,30%)] — CSS variable: --color-primary: hsl(226, 30%, 30%);