HSL(233, 70%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,70%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 70%, 52%) | color: hsl(233, 70%, 52%) | |
| HEX | #2F43DA | color: #2F43DA | |
| RGB | rgb(47, 67, 218) | color: rgb(47, 67, 218) | |
| CMYK | cmyk(78%, 69%, 0%, 15%) | — | |
| HSV | hsv(233, 78%, 85%) | — | |
| HWB | hwb(233 19% 15%) | color: hwb(233 19% 15%) | |
| OKLCH | oklch(0.4777 0.2276 269.06) | color: oklch(0.4777 0.2276 269.06) | |
| Lab | lab(37.26 45.53 -78.58) | color: lab(37.26 45.53 -78.58) | |
| LCH | lch(37.26 90.82 300.09) | color: lch(37.26 90.82 300.09) |
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)
#3838B5 — rgb(56, 56, 181)
Deuteranopia (Green-blind)
#3735AD — rgb(55, 53, 173)
Tritanopia (Blue-blind)
#309992 — rgb(48, 153, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 70%, 52%);
text
color: hsl(233, 70%, 52%);
border
border: 2px solid hsl(233, 70%, 52%);
gradient light
background: linear-gradient(to right, hsl(233, 70%, 72%), hsl(233, 70%, 52%));
gradient dark
background: linear-gradient(to right, hsl(233, 70%, 52%), hsl(233, 70%, 32%))
hex
background-color: #2F43DA;
tailwind
bg-[hsl(233,70%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 70%, 52%, 0.4);
css variable
--color-primary: hsl(233, 70%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 70%, 52%)?
HEX: #2F43DA | RGB: rgb(47, 67, 218) | CMYK: 78%, 69%, 0%, 15% | HSV: 233°, 78%, 85%. Copy any format from the conversion table above.
What colors go well with #2F43DA?
The complementary color is HSL(53, 70%, 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, 70%, 52%) in CSS?
As HSL: color: hsl(233, 70%, 52%); — As HEX: color: #2F43DA; — As RGB: color: rgb(47, 67, 218); — Tailwind CSS: bg-[hsl(233,70%,52%)] — CSS variable: --color-primary: hsl(233, 70%, 52%);