HSL(238, 65%, 67%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(238,65%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(238, 65%, 67%) | color: hsl(238, 65%, 67%) | |
| HEX | #7478E2 | color: #7478E2 | |
| RGB | rgb(116, 120, 226) | color: rgb(116, 120, 226) | |
| CMYK | cmyk(49%, 47%, 0%, 11%) | — | |
| HSV | hsv(238, 49%, 89%) | — | |
| HWB | hwb(238 45% 11%) | color: hwb(238 45% 11%) | |
| OKLCH | oklch(0.6198 0.1573 279.13) | color: oklch(0.6198 0.1573 279.13) | |
| Lab | lab(54.69 26.55 -54.62) | color: lab(54.69 26.55 -54.62) | |
| LCH | lch(54.69 60.73 295.92) | color: lch(54.69 60.73 295.92) |
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)
#7676C8 — rgb(118, 118, 200)
Deuteranopia (Green-blind)
#7675C2 — rgb(118, 117, 194)
Tritanopia (Blue-blind)
#74B4B0 — rgb(116, 180, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(238, 65%, 67%);
text
color: hsl(238, 65%, 67%);
border
border: 2px solid hsl(238, 65%, 67%);
gradient light
background: linear-gradient(to right, hsl(238, 65%, 87%), hsl(238, 65%, 67%));
gradient dark
background: linear-gradient(to right, hsl(238, 65%, 67%), hsl(238, 65%, 47%))
hex
background-color: #7478E2;
tailwind
bg-[hsl(238,65%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(238, 65%, 67%, 0.4);
css variable
--color-primary: hsl(238, 65%, 67%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(238, 65%, 67%)?
HEX: #7478E2 | RGB: rgb(116, 120, 226) | CMYK: 49%, 47%, 0%, 11% | HSV: 238°, 49%, 89%. Copy any format from the conversion table above.
What colors go well with #7478E2?
The complementary color is HSL(58, 65%, 67%). 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, 65%, 67%) in CSS?
As HSL: color: hsl(238, 65%, 67%); — As HEX: color: #7478E2; — As RGB: color: rgb(116, 120, 226); — Tailwind CSS: bg-[hsl(238,65%,67%)] — CSS variable: --color-primary: hsl(238, 65%, 67%);