HSL(232, 63%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,63%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 63%, 40%) | color: hsl(232, 63%, 40%) | |
| HEX | #2637A6 | color: #2637A6 | |
| RGB | rgb(38, 55, 166) | color: rgb(38, 55, 166) | |
| CMYK | cmyk(77%, 67%, 0%, 35%) | — | |
| HSV | hsv(232, 77%, 65%) | — | |
| HWB | hwb(232 15% 35%) | color: hwb(232 15% 35%) | |
| OKLCH | oklch(0.4027 0.1776 269.44) | color: oklch(0.4027 0.1776 269.44) | |
| Lab | lab(29.15 33.67 -61.38) | color: lab(29.15 33.67 -61.38) | |
| LCH | lch(29.15 70.01 298.75) | color: lch(29.15 70.01 298.75) |
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)
#2D2E8B — rgb(45, 46, 139)
Deuteranopia (Green-blind)
#2C2B85 — rgb(44, 43, 133)
Tritanopia (Blue-blind)
#277671 — rgb(39, 118, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 63%, 40%);
text
color: hsl(232, 63%, 40%);
border
border: 2px solid hsl(232, 63%, 40%);
gradient light
background: linear-gradient(to right, hsl(232, 63%, 60%), hsl(232, 63%, 40%));
gradient dark
background: linear-gradient(to right, hsl(232, 63%, 40%), hsl(232, 63%, 20%))
hex
background-color: #2637A6;
tailwind
bg-[hsl(232,63%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 63%, 40%, 0.4);
css variable
--color-primary: hsl(232, 63%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 63%, 40%)?
HEX: #2637A6 | RGB: rgb(38, 55, 166) | CMYK: 77%, 67%, 0%, 35% | HSV: 232°, 77%, 65%. Copy any format from the conversion table above.
What colors go well with #2637A6?
The complementary color is HSL(52, 63%, 40%). 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, 63%, 40%) in CSS?
As HSL: color: hsl(232, 63%, 40%); — As HEX: color: #2637A6; — As RGB: color: rgb(38, 55, 166); — Tailwind CSS: bg-[hsl(232,63%,40%)] — CSS variable: --color-primary: hsl(232, 63%, 40%);