HSL(233, 56%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,56%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 56%, 34%) | color: hsl(233, 56%, 34%) | |
| HEX | #263187 | color: #263187 | |
| RGB | rgb(38, 49, 135) | color: rgb(38, 49, 135) | |
| CMYK | cmyk(72%, 64%, 0%, 47%) | — | |
| HSV | hsv(233, 72%, 53%) | — | |
| HWB | hwb(233 15% 47%) | color: hwb(233 15% 47%) | |
| OKLCH | oklch(0.3622 0.1428 271.6) | color: oklch(0.3622 0.1428 271.6) | |
| Lab | lab(24.82 26.08 -49.47) | color: lab(24.82 26.08 -49.47) | |
| LCH | lch(24.82 55.92 297.8) | color: lch(24.82 55.92 297.8) |
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)
#2B2B72 — rgb(43, 43, 114)
Deuteranopia (Green-blind)
#2A296D — rgb(42, 41, 109)
Tritanopia (Blue-blind)
#27625E — rgb(39, 98, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 56%, 34%);
text
color: hsl(233, 56%, 34%);
border
border: 2px solid hsl(233, 56%, 34%);
gradient light
background: linear-gradient(to right, hsl(233, 56%, 54%), hsl(233, 56%, 34%));
gradient dark
background: linear-gradient(to right, hsl(233, 56%, 34%), hsl(233, 56%, 14%))
hex
background-color: #263187;
tailwind
bg-[hsl(233,56%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 56%, 34%, 0.4);
css variable
--color-primary: hsl(233, 56%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 56%, 34%)?
HEX: #263187 | RGB: rgb(38, 49, 135) | CMYK: 72%, 64%, 0%, 47% | HSV: 233°, 72%, 53%. Copy any format from the conversion table above.
What colors go well with #263187?
The complementary color is HSL(53, 56%, 34%). 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, 56%, 34%) in CSS?
As HSL: color: hsl(233, 56%, 34%); — As HEX: color: #263187; — As RGB: color: rgb(38, 49, 135); — Tailwind CSS: bg-[hsl(233,56%,34%)] — CSS variable: --color-primary: hsl(233, 56%, 34%);