HSL(233, 50%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,50%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 50%, 30%) | color: hsl(233, 50%, 30%) | |
| HEX | #262F73 | color: #262F73 | |
| RGB | rgb(38, 47, 115) | color: rgb(38, 47, 115) | |
| CMYK | cmyk(67%, 59%, 0%, 55%) | — | |
| HSV | hsv(233, 67%, 45%) | — | |
| HWB | hwb(233 15% 55%) | color: hwb(233 15% 55%) | |
| OKLCH | oklch(0.3404 0.1164 272.89) | color: oklch(0.3404 0.1164 272.89) | |
| Lab | lab(22.59 19.86 -40.45) | color: lab(22.59 19.86 -40.45) | |
| LCH | lch(22.59 45.06 296.15) | color: lch(22.59 45.06 296.15) |
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)
#2A2A63 — rgb(42, 42, 99)
Deuteranopia (Green-blind)
#29295F — rgb(41, 41, 95)
Tritanopia (Blue-blind)
#265653 — rgb(38, 86, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 50%, 30%);
text
color: hsl(233, 50%, 30%);
border
border: 2px solid hsl(233, 50%, 30%);
gradient light
background: linear-gradient(to right, hsl(233, 50%, 50%), hsl(233, 50%, 30%));
gradient dark
background: linear-gradient(to right, hsl(233, 50%, 30%), hsl(233, 50%, 10%))
hex
background-color: #262F73;
tailwind
bg-[hsl(233,50%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 50%, 30%, 0.4);
css variable
--color-primary: hsl(233, 50%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 50%, 30%)?
HEX: #262F73 | RGB: rgb(38, 47, 115) | CMYK: 67%, 59%, 0%, 55% | HSV: 233°, 67%, 45%. Copy any format from the conversion table above.
What colors go well with #262F73?
The complementary color is HSL(53, 50%, 30%). 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, 50%, 30%) in CSS?
As HSL: color: hsl(233, 50%, 30%); — As HEX: color: #262F73; — As RGB: color: rgb(38, 47, 115); — Tailwind CSS: bg-[hsl(233,50%,30%)] — CSS variable: --color-primary: hsl(233, 50%, 30%);