HSL(245, 43%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,43%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 43%, 56%) | color: hsl(245, 43%, 56%) | |
| HEX | #675FBF | color: #675FBF | |
| RGB | rgb(103, 95, 191) | color: rgb(103, 95, 191) | |
| CMYK | cmyk(46%, 50%, 0%, 25%) | — | |
| HSV | hsv(245, 50%, 75%) | — | |
| HWB | hwb(245 38% 25%) | color: hwb(245 38% 25%) | |
| OKLCH | oklch(0.5406 0.1454 284.19) | color: oklch(0.5406 0.1454 284.19) | |
| Lab | lab(45.4 28.15 -49.6) | color: lab(45.4 28.15 -49.6) | |
| LCH | lch(45.4 57.03 299.58) | color: lch(45.4 57.03 299.58) |
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)
#6463A8 — rgb(100, 99, 168)
Deuteranopia (Green-blind)
#6465A2 — rgb(100, 101, 162)
Tritanopia (Blue-blind)
#679591 — rgb(103, 149, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 43%, 56%);
text
color: hsl(245, 43%, 56%);
border
border: 2px solid hsl(245, 43%, 56%);
gradient light
background: linear-gradient(to right, hsl(245, 43%, 76%), hsl(245, 43%, 56%));
gradient dark
background: linear-gradient(to right, hsl(245, 43%, 56%), hsl(245, 43%, 36%))
hex
background-color: #675FBF;
tailwind
bg-[hsl(245,43%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 43%, 56%, 0.4);
css variable
--color-primary: hsl(245, 43%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 43%, 56%)?
HEX: #675FBF | RGB: rgb(103, 95, 191) | CMYK: 46%, 50%, 0%, 25% | HSV: 245°, 50%, 75%. Copy any format from the conversion table above.
What colors go well with #675FBF?
The complementary color is HSL(65, 43%, 56%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 43%, 56%) in CSS?
As HSL: color: hsl(245, 43%, 56%); — As HEX: color: #675FBF; — As RGB: color: rgb(103, 95, 191); — Tailwind CSS: bg-[hsl(245,43%,56%)] — CSS variable: --color-primary: hsl(245, 43%, 56%);