HSL(232, 62%, 45%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,62%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 62%, 45%) | color: hsl(232, 62%, 45%) | |
| HEX | #2C3FBA | color: #2C3FBA | |
| RGB | rgb(44, 63, 186) | color: rgb(44, 63, 186) | |
| CMYK | cmyk(76%, 66%, 0%, 27%) | — | |
| HSV | hsv(232, 76%, 73%) | — | |
| HWB | hwb(232 18% 27%) | color: hwb(232 18% 27%) | |
| OKLCH | oklch(0.4388 0.1928 269.45) | color: oklch(0.4388 0.1928 269.45) | |
| Lab | lab(33.21 36.45 -66.63) | color: lab(33.21 36.45 -66.63) | |
| LCH | lch(33.21 75.95 298.68) | color: lch(33.21 75.95 298.68) |
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)
#34349C — rgb(52, 52, 156)
Deuteranopia (Green-blind)
#333295 — rgb(51, 50, 149)
Tritanopia (Blue-blind)
#2D8580 — rgb(45, 133, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 62%, 45%);
text
color: hsl(232, 62%, 45%);
border
border: 2px solid hsl(232, 62%, 45%);
gradient light
background: linear-gradient(to right, hsl(232, 62%, 65%), hsl(232, 62%, 45%));
gradient dark
background: linear-gradient(to right, hsl(232, 62%, 45%), hsl(232, 62%, 25%))
hex
background-color: #2C3FBA;
tailwind
bg-[hsl(232,62%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 62%, 45%, 0.4);
css variable
--color-primary: hsl(232, 62%, 45%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 62%, 45%)?
HEX: #2C3FBA | RGB: rgb(44, 63, 186) | CMYK: 76%, 66%, 0%, 27% | HSV: 232°, 76%, 73%. Copy any format from the conversion table above.
What colors go well with #2C3FBA?
The complementary color is HSL(52, 62%, 45%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 62%, 45%) in CSS?
As HSL: color: hsl(232, 62%, 45%); — As HEX: color: #2C3FBA; — As RGB: color: rgb(44, 63, 186); — Tailwind CSS: bg-[hsl(232,62%,45%)] — CSS variable: --color-primary: hsl(232, 62%, 45%);