HSL(238, 100%, 47%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(238,100%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(238, 100%, 47%) | color: hsl(238, 100%, 47%) | |
| HEX | #0008F0 | color: #0008F0 | |
| RGB | rgb(0, 8, 240) | color: rgb(0, 8, 240) | |
| CMYK | cmyk(100%, 97%, 0%, 6%) | — | |
| HSV | hsv(238, 100%, 94%) | — | |
| HWB | hwb(238 0% 6%) | color: hwb(238 0% 6%) | |
| OKLCH | oklch(0.4346 0.2972 264.1) | color: oklch(0.4346 0.2972 264.1) | |
| Lab | lab(30.55 74.33 -102.32) | color: lab(30.55 74.33 -102.32) | |
| LCH | lch(30.55 126.47 306) | color: lch(30.55 126.47 306) |
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)
#0304B8 — rgb(3, 4, 184)
Deuteranopia (Green-blind)
#0302AA — rgb(3, 2, 170)
Tritanopia (Blue-blind)
#008C82 — rgb(0, 140, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(238, 100%, 47%);
text
color: hsl(238, 100%, 47%);
border
border: 2px solid hsl(238, 100%, 47%);
gradient light
background: linear-gradient(to right, hsl(238, 100%, 67%), hsl(238, 100%, 47%));
gradient dark
background: linear-gradient(to right, hsl(238, 100%, 47%), hsl(238, 100%, 27%))
hex
background-color: #0008F0;
tailwind
bg-[hsl(238,100%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(238, 100%, 47%, 0.4);
css variable
--color-primary: hsl(238, 100%, 47%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(238, 100%, 47%)?
HEX: #0008F0 | RGB: rgb(0, 8, 240) | CMYK: 100%, 97%, 0%, 6% | HSV: 238°, 100%, 94%. Copy any format from the conversion table above.
What colors go well with #0008F0?
The complementary color is HSL(58, 100%, 47%). For a triadic harmony, use hues 238°, 358°, and 118°. For analogous combinations, try hues 208° and 268°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(238, 100%, 47%) in CSS?
As HSL: color: hsl(238, 100%, 47%); — As HEX: color: #0008F0; — As RGB: color: rgb(0, 8, 240); — Tailwind CSS: bg-[hsl(238,100%,47%)] — CSS variable: --color-primary: hsl(238, 100%, 47%);