HSL(225, 30%, 35%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(225,30%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(225, 30%, 35%) | color: hsl(225, 30%, 35%) | |
| HEX | #3E4C74 | color: #3E4C74 | |
| RGB | rgb(62, 76, 116) | color: rgb(62, 76, 116) | |
| CMYK | cmyk(47%, 34%, 0%, 55%) | — | |
| HSV | hsv(224, 47%, 45%) | — | |
| HWB | hwb(224 24% 55%) | color: hwb(224 24% 55%) | |
| OKLCH | oklch(0.423 0.0693 268.65) | color: oklch(0.423 0.0693 268.65) | |
| Lab | lab(32.82 6.14 -24.68) | color: lab(32.82 6.14 -24.68) | |
| LCH | lch(32.82 25.43 283.97) | color: lch(32.82 25.43 283.97) |
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)
#44446A — rgb(68, 68, 106)
Deuteranopia (Green-blind)
#434268 — rgb(67, 66, 104)
Tritanopia (Blue-blind)
#3F6361 — rgb(63, 99, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(225, 30%, 35%);
text
color: hsl(225, 30%, 35%);
border
border: 2px solid hsl(225, 30%, 35%);
gradient light
background: linear-gradient(to right, hsl(225, 30%, 55%), hsl(225, 30%, 35%));
gradient dark
background: linear-gradient(to right, hsl(225, 30%, 35%), hsl(225, 30%, 15%))
hex
background-color: #3E4C74;
tailwind
bg-[hsl(225,30%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(225, 30%, 35%, 0.4);
css variable
--color-primary: hsl(225, 30%, 35%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(225, 30%, 35%)?
HEX: #3E4C74 | RGB: rgb(62, 76, 116) | CMYK: 47%, 34%, 0%, 55% | HSV: 224°, 47%, 45%. Copy any format from the conversion table above.
What colors go well with #3E4C74?
The complementary color is HSL(45, 30%, 35%). For a triadic harmony, use hues 225°, 345°, and 105°. For analogous combinations, try hues 195° and 255°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(225, 30%, 35%) in CSS?
As HSL: color: hsl(225, 30%, 35%); — As HEX: color: #3E4C74; — As RGB: color: rgb(62, 76, 116); — Tailwind CSS: bg-[hsl(225,30%,35%)] — CSS variable: --color-primary: hsl(225, 30%, 35%);