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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 9.16:1
vs Black 2.29:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Corporate branding Trust signals Tech products Social media Primary buttons

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%);