HSL(206, 68%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(206,68%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(206, 68%, 48%) | color: hsl(206, 68%, 48%) | |
| HEX | #2785CE | color: #2785CE | |
| RGB | rgb(39, 133, 206) | color: rgb(39, 133, 206) | |
| CMYK | cmyk(81%, 35%, 0%, 19%) | — | |
| HSV | hsv(206, 81%, 81%) | — | |
| HWB | hwb(206 15% 19%) | color: hwb(206 15% 19%) | |
| OKLCH | oklch(0.5989 0.1399 247.01) | color: oklch(0.5989 0.1399 247.01) | |
| Lab | lab(53.66 -1.11 -45.2) | color: lab(53.66 -1.11 -45.2) | |
| LCH | lch(53.66 45.21 268.59) | color: lch(53.66 45.21 268.59) |
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)
#5051BC — rgb(80, 81, 188)
Deuteranopia (Green-blind)
#4A43B8 — rgb(74, 67, 184)
Tritanopia (Blue-blind)
#2CAEAB — rgb(44, 174, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(206, 68%, 48%);
text
color: hsl(206, 68%, 48%);
border
border: 2px solid hsl(206, 68%, 48%);
gradient light
background: linear-gradient(to right, hsl(206, 68%, 68%), hsl(206, 68%, 48%));
gradient dark
background: linear-gradient(to right, hsl(206, 68%, 48%), hsl(206, 68%, 28%))
hex
background-color: #2785CE;
tailwind
bg-[hsl(206,68%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(206, 68%, 48%, 0.4);
css variable
--color-primary: hsl(206, 68%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(206, 68%, 48%)?
HEX: #2785CE | RGB: rgb(39, 133, 206) | CMYK: 81%, 35%, 0%, 19% | HSV: 206°, 81%, 81%. Copy any format from the conversion table above.
What colors go well with #2785CE?
The complementary color is HSL(26, 68%, 48%). For a triadic harmony, use hues 206°, 326°, and 86°. For analogous combinations, try hues 176° and 236°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(206, 68%, 48%) in CSS?
As HSL: color: hsl(206, 68%, 48%); — As HEX: color: #2785CE; — As RGB: color: rgb(39, 133, 206); — Tailwind CSS: bg-[hsl(206,68%,48%)] — CSS variable: --color-primary: hsl(206, 68%, 48%);