HSL(204, 90%, 45%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(204,90%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(204, 90%, 45%) | color: hsl(204, 90%, 45%) | |
| HEX | #0B87DA | color: #0B87DA | |
| RGB | rgb(11, 135, 218) | color: rgb(11, 135, 218) | |
| CMYK | cmyk(95%, 38%, 0%, 15%) | — | |
| HSV | hsv(204, 95%, 85%) | — | |
| HWB | hwb(204 4% 15%) | color: hwb(204 4% 15%) | |
| OKLCH | oklch(0.6066 0.1572 247.16) | color: oklch(0.6066 0.1572 247.16) | |
| Lab | lab(54.51 0.5 -50.65) | color: lab(54.51 0.5 -50.65) | |
| LCH | lch(54.51 50.65 270.57) | color: lch(54.51 50.65 270.57) |
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)
#4142C6 — rgb(65, 66, 198)
Deuteranopia (Green-blind)
#3A30C1 — rgb(58, 48, 193)
Tritanopia (Blue-blind)
#11B6B3 — rgb(17, 182, 179)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(204, 90%, 45%);
text
color: hsl(204, 90%, 45%);
border
border: 2px solid hsl(204, 90%, 45%);
gradient light
background: linear-gradient(to right, hsl(204, 90%, 65%), hsl(204, 90%, 45%));
gradient dark
background: linear-gradient(to right, hsl(204, 90%, 45%), hsl(204, 90%, 25%))
hex
background-color: #0B87DA;
tailwind
bg-[hsl(204,90%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(204, 90%, 45%, 0.4);
css variable
--color-primary: hsl(204, 90%, 45%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(204, 90%, 45%)?
HEX: #0B87DA | RGB: rgb(11, 135, 218) | CMYK: 95%, 38%, 0%, 15% | HSV: 204°, 95%, 85%. Copy any format from the conversion table above.
What colors go well with #0B87DA?
The complementary color is HSL(24, 90%, 45%). For a triadic harmony, use hues 204°, 324°, and 84°. For analogous combinations, try hues 174° and 234°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(204, 90%, 45%) in CSS?
As HSL: color: hsl(204, 90%, 45%); — As HEX: color: #0B87DA; — As RGB: color: rgb(11, 135, 218); — Tailwind CSS: bg-[hsl(204,90%,45%)] — CSS variable: --color-primary: hsl(204, 90%, 45%);