HSL(233, 73%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,73%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 73%, 52%) | color: hsl(233, 73%, 52%) | |
| HEX | #2B40DE | color: #2B40DE | |
| RGB | rgb(43, 64, 222) | color: rgb(43, 64, 222) | |
| CMYK | cmyk(81%, 71%, 0%, 13%) | — | |
| HSV | hsv(233, 81%, 87%) | — | |
| HWB | hwb(233 17% 13%) | color: hwb(233 17% 13%) | |
| OKLCH | oklch(0.4754 0.2365 268.43) | color: oklch(0.4754 0.2365 268.43) | |
| Lab | lab(36.84 48.37 -81.57) | color: lab(36.84 48.37 -81.57) | |
| LCH | lch(36.84 94.83 300.67) | color: lch(36.84 94.83 300.67) |
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)
#3434B8 — rgb(52, 52, 184)
Deuteranopia (Green-blind)
#3331AF — rgb(51, 49, 175)
Tritanopia (Blue-blind)
#2C9A93 — rgb(44, 154, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 73%, 52%);
text
color: hsl(233, 73%, 52%);
border
border: 2px solid hsl(233, 73%, 52%);
gradient light
background: linear-gradient(to right, hsl(233, 73%, 72%), hsl(233, 73%, 52%));
gradient dark
background: linear-gradient(to right, hsl(233, 73%, 52%), hsl(233, 73%, 32%))
hex
background-color: #2B40DE;
tailwind
bg-[hsl(233,73%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 73%, 52%, 0.4);
css variable
--color-primary: hsl(233, 73%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 73%, 52%)?
HEX: #2B40DE | RGB: rgb(43, 64, 222) | CMYK: 81%, 71%, 0%, 13% | HSV: 233°, 81%, 87%. Copy any format from the conversion table above.
What colors go well with #2B40DE?
The complementary color is HSL(53, 73%, 52%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 73%, 52%) in CSS?
As HSL: color: hsl(233, 73%, 52%); — As HEX: color: #2B40DE; — As RGB: color: rgb(43, 64, 222); — Tailwind CSS: bg-[hsl(233,73%,52%)] — CSS variable: --color-primary: hsl(233, 73%, 52%);