HSL(203, 46%, 29%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(203,46%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(203, 46%, 29%) | color: hsl(203, 46%, 29%) | |
| HEX | #28526C | color: #28526C | |
| RGB | rgb(40, 82, 108) | color: rgb(40, 82, 108) | |
| CMYK | cmyk(63%, 24%, 0%, 58%) | — | |
| HSV | hsv(203, 63%, 42%) | — | |
| HWB | hwb(203 16% 58%) | color: hwb(203 16% 58%) | |
| OKLCH | oklch(0.4203 0.0639 238.06) | color: oklch(0.4203 0.0639 238.06) | |
| Lab | lab(33.07 -6 -19.38) | color: lab(33.07 -6 -19.38) | |
| LCH | lch(33.07 20.29 252.8) | color: lch(33.07 20.29 252.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)
#3A3B66 — rgb(58, 59, 102)
Deuteranopia (Green-blind)
#383564 — rgb(56, 53, 100)
Tritanopia (Blue-blind)
#2A6160 — rgb(42, 97, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(203, 46%, 29%);
text
color: hsl(203, 46%, 29%);
border
border: 2px solid hsl(203, 46%, 29%);
gradient light
background: linear-gradient(to right, hsl(203, 46%, 49%), hsl(203, 46%, 29%));
gradient dark
background: linear-gradient(to right, hsl(203, 46%, 29%), hsl(203, 46%, 9%))
hex
background-color: #28526C;
tailwind
bg-[hsl(203,46%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(203, 46%, 29%, 0.4);
css variable
--color-primary: hsl(203, 46%, 29%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(203, 46%, 29%)?
HEX: #28526C | RGB: rgb(40, 82, 108) | CMYK: 63%, 24%, 0%, 58% | HSV: 203°, 63%, 42%. Copy any format from the conversion table above.
What colors go well with #28526C?
The complementary color is HSL(23, 46%, 29%). For a triadic harmony, use hues 203°, 323°, and 83°. For analogous combinations, try hues 173° and 233°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(203, 46%, 29%) in CSS?
As HSL: color: hsl(203, 46%, 29%); — As HEX: color: #28526C; — As RGB: color: rgb(40, 82, 108); — Tailwind CSS: bg-[hsl(203,46%,29%)] — CSS variable: --color-primary: hsl(203, 46%, 29%);