HSL(231, 53%, 35%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,53%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 53%, 35%) | color: hsl(231, 53%, 35%) | |
| HEX | #2A3889 | color: #2A3889 | |
| RGB | rgb(42, 56, 137) | color: rgb(42, 56, 137) | |
| CMYK | cmyk(69%, 59%, 0%, 46%) | — | |
| HSV | hsv(231, 69%, 54%) | — | |
| HWB | hwb(231 17% 46%) | color: hwb(231 17% 46%) | |
| OKLCH | oklch(0.3802 0.1354 271.06) | color: oklch(0.3802 0.1354 271.06) | |
| Lab | lab(27.09 22.67 -47) | color: lab(27.09 22.67 -47) | |
| LCH | lch(27.09 52.18 295.75) | color: lch(27.09 52.18 295.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)
#303075 — rgb(48, 48, 117)
Deuteranopia (Green-blind)
#2F2E71 — rgb(47, 46, 113)
Tritanopia (Blue-blind)
#2B6663 — rgb(43, 102, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 53%, 35%);
text
color: hsl(231, 53%, 35%);
border
border: 2px solid hsl(231, 53%, 35%);
gradient light
background: linear-gradient(to right, hsl(231, 53%, 55%), hsl(231, 53%, 35%));
gradient dark
background: linear-gradient(to right, hsl(231, 53%, 35%), hsl(231, 53%, 15%))
hex
background-color: #2A3889;
tailwind
bg-[hsl(231,53%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 53%, 35%, 0.4);
css variable
--color-primary: hsl(231, 53%, 35%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 53%, 35%)?
HEX: #2A3889 | RGB: rgb(42, 56, 137) | CMYK: 69%, 59%, 0%, 46% | HSV: 231°, 69%, 54%. Copy any format from the conversion table above.
What colors go well with #2A3889?
The complementary color is HSL(51, 53%, 35%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 53%, 35%) in CSS?
As HSL: color: hsl(231, 53%, 35%); — As HEX: color: #2A3889; — As RGB: color: rgb(42, 56, 137); — Tailwind CSS: bg-[hsl(231,53%,35%)] — CSS variable: --color-primary: hsl(231, 53%, 35%);