HSL(203, 66%, 47%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(203,66%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(203, 66%, 47%) | color: hsl(203, 66%, 47%) | |
| HEX | #298AC7 | color: #298AC7 | |
| RGB | rgb(41, 138, 199) | color: rgb(41, 138, 199) | |
| CMYK | cmyk(79%, 31%, 0%, 22%) | — | |
| HSV | hsv(203, 79%, 78%) | — | |
| HWB | hwb(203 16% 22%) | color: hwb(203 16% 22%) | |
| OKLCH | oklch(0.6071 0.1269 241.67) | color: oklch(0.6071 0.1269 241.67) | |
| Lab | lab(54.83 -6.41 -39.39) | color: lab(54.83 -6.41 -39.39) | |
| LCH | lch(54.83 39.91 260.76) | color: lch(54.83 39.91 260.76) |
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)
#5354B8 — rgb(83, 84, 184)
Deuteranopia (Green-blind)
#4D46B5 — rgb(77, 70, 181)
Tritanopia (Blue-blind)
#2EADAA — rgb(46, 173, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(203, 66%, 47%);
text
color: hsl(203, 66%, 47%);
border
border: 2px solid hsl(203, 66%, 47%);
gradient light
background: linear-gradient(to right, hsl(203, 66%, 67%), hsl(203, 66%, 47%));
gradient dark
background: linear-gradient(to right, hsl(203, 66%, 47%), hsl(203, 66%, 27%))
hex
background-color: #298AC7;
tailwind
bg-[hsl(203,66%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(203, 66%, 47%, 0.4);
css variable
--color-primary: hsl(203, 66%, 47%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(203, 66%, 47%)?
HEX: #298AC7 | RGB: rgb(41, 138, 199) | CMYK: 79%, 31%, 0%, 22% | HSV: 203°, 79%, 78%. Copy any format from the conversion table above.
What colors go well with #298AC7?
The complementary color is HSL(23, 66%, 47%). 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, 66%, 47%) in CSS?
As HSL: color: hsl(203, 66%, 47%); — As HEX: color: #298AC7; — As RGB: color: rgb(41, 138, 199); — Tailwind CSS: bg-[hsl(203,66%,47%)] — CSS variable: --color-primary: hsl(203, 66%, 47%);