HSL(203, 48%, 28%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(203,48%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(203, 48%, 28%) | color: hsl(203, 48%, 28%) | |
| HEX | #254F6A | color: #254F6A | |
| RGB | rgb(37, 79, 106) | color: rgb(37, 79, 106) | |
| CMYK | cmyk(65%, 25%, 0%, 58%) | — | |
| HSV | hsv(203, 65%, 42%) | — | |
| HWB | hwb(203 15% 58%) | color: hwb(203 15% 58%) | |
| OKLCH | oklch(0.4101 0.0652 239.28) | color: oklch(0.4101 0.0652 239.28) | |
| Lab | lab(31.86 -5.48 -19.99) | color: lab(31.86 -5.48 -19.99) | |
| LCH | lch(31.86 20.73 254.67) | color: lch(31.86 20.73 254.67) |
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)
#373863 — rgb(55, 56, 99)
Deuteranopia (Green-blind)
#353262 — rgb(53, 50, 98)
Tritanopia (Blue-blind)
#275E5D — rgb(39, 94, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(203, 48%, 28%);
text
color: hsl(203, 48%, 28%);
border
border: 2px solid hsl(203, 48%, 28%);
gradient light
background: linear-gradient(to right, hsl(203, 48%, 48%), hsl(203, 48%, 28%));
gradient dark
background: linear-gradient(to right, hsl(203, 48%, 28%), hsl(203, 48%, 8%))
hex
background-color: #254F6A;
tailwind
bg-[hsl(203,48%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(203, 48%, 28%, 0.4);
css variable
--color-primary: hsl(203, 48%, 28%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(203, 48%, 28%)?
HEX: #254F6A | RGB: rgb(37, 79, 106) | CMYK: 65%, 25%, 0%, 58% | HSV: 203°, 65%, 42%. Copy any format from the conversion table above.
What colors go well with #254F6A?
The complementary color is HSL(23, 48%, 28%). 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, 48%, 28%) in CSS?
As HSL: color: hsl(203, 48%, 28%); — As HEX: color: #254F6A; — As RGB: color: rgb(37, 79, 106); — Tailwind CSS: bg-[hsl(203,48%,28%)] — CSS variable: --color-primary: hsl(203, 48%, 28%);