HSL(198, 50%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(198,50%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(198, 50%, 30%) | color: hsl(198, 50%, 30%) | |
| HEX | #265C73 | color: #265C73 | |
| RGB | rgb(38, 92, 115) | color: rgb(38, 92, 115) | |
| CMYK | cmyk(67%, 20%, 0%, 55%) | — | |
| HSV | hsv(198, 67%, 45%) | — | |
| HWB | hwb(198 15% 55%) | color: hwb(198 15% 55%) | |
| OKLCH | oklch(0.4489 0.0679 229.05) | color: oklch(0.4489 0.0679 229.05) | |
| Lab | lab(36.56 -10.03 -18.33) | color: lab(36.56 -10.03 -18.33) | |
| LCH | lch(36.56 20.89 241.31) | color: lch(36.56 20.89 241.31) |
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)
#3D3E6D — rgb(61, 62, 109)
Deuteranopia (Green-blind)
#3A366C — rgb(58, 54, 108)
Tritanopia (Blue-blind)
#296968 — rgb(41, 105, 104)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(198, 50%, 30%);
text
color: hsl(198, 50%, 30%);
border
border: 2px solid hsl(198, 50%, 30%);
gradient light
background: linear-gradient(to right, hsl(198, 50%, 50%), hsl(198, 50%, 30%));
gradient dark
background: linear-gradient(to right, hsl(198, 50%, 30%), hsl(198, 50%, 10%))
hex
background-color: #265C73;
tailwind
bg-[hsl(198,50%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(198, 50%, 30%, 0.4);
css variable
--color-primary: hsl(198, 50%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(198, 50%, 30%)?
HEX: #265C73 | RGB: rgb(38, 92, 115) | CMYK: 67%, 20%, 0%, 55% | HSV: 198°, 67%, 45%. Copy any format from the conversion table above.
What colors go well with #265C73?
The complementary color is HSL(18, 50%, 30%). For a triadic harmony, use hues 198°, 318°, and 78°. For analogous combinations, try hues 168° and 228°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(198, 50%, 30%) in CSS?
As HSL: color: hsl(198, 50%, 30%); — As HEX: color: #265C73; — As RGB: color: rgb(38, 92, 115); — Tailwind CSS: bg-[hsl(198,50%,30%)] — CSS variable: --color-primary: hsl(198, 50%, 30%);