HSL(218, 30%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(218,30%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 30%, 30%) | color: hsl(218, 30%, 30%) | |
| HEX | #364663 | color: #364663 | |
| RGB | rgb(54, 70, 99) | color: rgb(54, 70, 99) | |
| CMYK | cmyk(45%, 29%, 0%, 61%) | — | |
| HSV | hsv(219, 45%, 39%) | — | |
| HWB | hwb(219 21% 61%) | color: hwb(219 21% 61%) | |
| OKLCH | oklch(0.3935 0.0536 261.93) | color: oklch(0.3935 0.0536 261.93) | |
| Lab | lab(29.58 2.23 -19.03) | color: lab(29.58 2.23 -19.03) | |
| LCH | lch(29.58 19.16 276.68) | color: lch(29.58 19.16 276.68) |
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)
#3D3D5C — rgb(61, 61, 92)
Deuteranopia (Green-blind)
#3C3B5A — rgb(60, 59, 90)
Tritanopia (Blue-blind)
#375655 — rgb(55, 86, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 30%, 30%);
text
color: hsl(218, 30%, 30%);
border
border: 2px solid hsl(218, 30%, 30%);
gradient light
background: linear-gradient(to right, hsl(218, 30%, 50%), hsl(218, 30%, 30%));
gradient dark
background: linear-gradient(to right, hsl(218, 30%, 30%), hsl(218, 30%, 10%))
hex
background-color: #364663;
tailwind
bg-[hsl(218,30%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 30%, 30%, 0.4);
css variable
--color-primary: hsl(218, 30%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 30%, 30%)?
HEX: #364663 | RGB: rgb(54, 70, 99) | CMYK: 45%, 29%, 0%, 61% | HSV: 219°, 45%, 39%. Copy any format from the conversion table above.
What colors go well with #364663?
The complementary color is HSL(38, 30%, 30%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 30%, 30%) in CSS?
As HSL: color: hsl(218, 30%, 30%); — As HEX: color: #364663; — As RGB: color: rgb(54, 70, 99); — Tailwind CSS: bg-[hsl(218,30%,30%)] — CSS variable: --color-primary: hsl(218, 30%, 30%);