HSL(208, 38%, 28%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(208,38%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(208, 38%, 28%) | color: hsl(208, 38%, 28%) | |
| HEX | #2C4963 | color: #2C4963 | |
| RGB | rgb(44, 73, 99) | color: rgb(44, 73, 99) | |
| CMYK | cmyk(56%, 26%, 0%, 61%) | — | |
| HSV | hsv(208, 56%, 39%) | — | |
| HWB | hwb(208 17% 61%) | color: hwb(208 17% 61%) | |
| OKLCH | oklch(0.3945 0.0564 246.83) | color: oklch(0.3945 0.0564 246.83) | |
| Lab | lab(29.91 -2.51 -18.56) | color: lab(29.91 -2.51 -18.56) | |
| LCH | lch(29.91 18.73 262.3) | color: lch(29.91 18.73 262.3) |
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)
#39395D — rgb(57, 57, 93)
Deuteranopia (Green-blind)
#37355B — rgb(55, 53, 91)
Tritanopia (Blue-blind)
#2D5857 — rgb(45, 88, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(208, 38%, 28%);
text
color: hsl(208, 38%, 28%);
border
border: 2px solid hsl(208, 38%, 28%);
gradient light
background: linear-gradient(to right, hsl(208, 38%, 48%), hsl(208, 38%, 28%));
gradient dark
background: linear-gradient(to right, hsl(208, 38%, 28%), hsl(208, 38%, 8%))
hex
background-color: #2C4963;
tailwind
bg-[hsl(208,38%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(208, 38%, 28%, 0.4);
css variable
--color-primary: hsl(208, 38%, 28%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(208, 38%, 28%)?
HEX: #2C4963 | RGB: rgb(44, 73, 99) | CMYK: 56%, 26%, 0%, 61% | HSV: 208°, 56%, 39%. Copy any format from the conversion table above.
What colors go well with #2C4963?
The complementary color is HSL(28, 38%, 28%). For a triadic harmony, use hues 208°, 328°, and 88°. For analogous combinations, try hues 178° and 238°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(208, 38%, 28%) in CSS?
As HSL: color: hsl(208, 38%, 28%); — As HEX: color: #2C4963; — As RGB: color: rgb(44, 73, 99); — Tailwind CSS: bg-[hsl(208,38%,28%)] — CSS variable: --color-primary: hsl(208, 38%, 28%);