HSL(203, 50%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(203,50%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(203, 50%, 52%) | color: hsl(203, 50%, 52%) | |
| HEX | #4793C2 | color: #4793C2 | |
| RGB | rgb(71, 147, 194) | color: rgb(71, 147, 194) | |
| CMYK | cmyk(63%, 24%, 0%, 24%) | — | |
| HSV | hsv(203, 63%, 76%) | — | |
| HWB | hwb(203 28% 24%) | color: hwb(203 28% 24%) | |
| OKLCH | oklch(0.6349 0.1032 238.51) | color: oklch(0.6349 0.1032 238.51) | |
| Lab | lab(58.13 -9.01 -31.34) | color: lab(58.13 -9.01 -31.34) | |
| LCH | lch(58.13 32.61 253.96) | color: lch(58.13 32.61 253.96) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#6869B7 — rgb(104, 105, 183)
Deuteranopia (Green-blind)
#645EB4 — rgb(100, 94, 180)
Tritanopia (Blue-blind)
#4BAEAC — rgb(75, 174, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(203, 50%, 52%);
text
color: hsl(203, 50%, 52%);
border
border: 2px solid hsl(203, 50%, 52%);
gradient light
background: linear-gradient(to right, hsl(203, 50%, 72%), hsl(203, 50%, 52%));
gradient dark
background: linear-gradient(to right, hsl(203, 50%, 52%), hsl(203, 50%, 32%))
hex
background-color: #4793C2;
tailwind
bg-[hsl(203,50%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(203, 50%, 52%, 0.4);
css variable
--color-primary: hsl(203, 50%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(203, 50%, 52%)?
HEX: #4793C2 | RGB: rgb(71, 147, 194) | CMYK: 63%, 24%, 0%, 24% | HSV: 203°, 63%, 76%. Copy any format from the conversion table above.
What colors go well with #4793C2?
The complementary color is HSL(23, 50%, 52%). 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, 50%, 52%) in CSS?
As HSL: color: hsl(203, 50%, 52%); — As HEX: color: #4793C2; — As RGB: color: rgb(71, 147, 194); — Tailwind CSS: bg-[hsl(203,50%,52%)] — CSS variable: --color-primary: hsl(203, 50%, 52%);