HSL(245, 100%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,100%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 100%, 37%) | color: hsl(245, 100%, 37%) | |
| HEX | #1000BD | color: #1000BD | |
| RGB | rgb(16, 0, 189) | color: rgb(16, 0, 189) | |
| CMYK | cmyk(92%, 100%, 0%, 26%) | — | |
| HSV | hsv(245, 100%, 74%) | — | |
| HWB | hwb(245 0% 26%) | color: hwb(245 0% 26%) | |
| OKLCH | oklch(0.3645 0.2473 266.21) | color: oklch(0.3645 0.2473 266.21) | |
| Lab | lab(22.94 63.34 -85.46) | color: lab(22.94 63.34 -85.46) | |
| LCH | lch(22.94 106.37 306.54) | color: lch(22.94 106.37 306.54) |
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)
#09098F — rgb(9, 9, 143)
Deuteranopia (Green-blind)
#0A0B84 — rgb(10, 11, 132)
Tritanopia (Blue-blind)
#0F6B63 — rgb(15, 107, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 100%, 37%);
text
color: hsl(245, 100%, 37%);
border
border: 2px solid hsl(245, 100%, 37%);
gradient light
background: linear-gradient(to right, hsl(245, 100%, 57%), hsl(245, 100%, 37%));
gradient dark
background: linear-gradient(to right, hsl(245, 100%, 37%), hsl(245, 100%, 17%))
hex
background-color: #1000BD;
tailwind
bg-[hsl(245,100%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 100%, 37%, 0.4);
css variable
--color-primary: hsl(245, 100%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 100%, 37%)?
HEX: #1000BD | RGB: rgb(16, 0, 189) | CMYK: 92%, 100%, 0%, 26% | HSV: 245°, 100%, 74%. Copy any format from the conversion table above.
What colors go well with #1000BD?
The complementary color is HSL(65, 100%, 37%). 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, 100%, 37%) in CSS?
As HSL: color: hsl(245, 100%, 37%); — As HEX: color: #1000BD; — As RGB: color: rgb(16, 0, 189); — Tailwind CSS: bg-[hsl(245,100%,37%)] — CSS variable: --color-primary: hsl(245, 100%, 37%);