HSL(233, 76%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,76%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 76%, 37%) | color: hsl(233, 76%, 37%) | |
| HEX | #1727A6 | color: #1727A6 | |
| RGB | rgb(23, 39, 166) | color: rgb(23, 39, 166) | |
| CMYK | cmyk(86%, 77%, 0%, 35%) | — | |
| HSV | hsv(233, 86%, 65%) | — | |
| HWB | hwb(233 9% 35%) | color: hwb(233 9% 35%) | |
| OKLCH | oklch(0.3703 0.1985 267.47) | color: oklch(0.3703 0.1985 267.47) | |
| Lab | lab(24.91 42.43 -68.4) | color: lab(24.91 42.43 -68.4) | |
| LCH | lch(24.91 80.49 301.81) | color: lch(24.91 80.49 301.81) |
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)
#1E1E87 — rgb(30, 30, 135)
Deuteranopia (Green-blind)
#1D1C80 — rgb(29, 28, 128)
Tritanopia (Blue-blind)
#186F6A — rgb(24, 111, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 76%, 37%);
text
color: hsl(233, 76%, 37%);
border
border: 2px solid hsl(233, 76%, 37%);
gradient light
background: linear-gradient(to right, hsl(233, 76%, 57%), hsl(233, 76%, 37%));
gradient dark
background: linear-gradient(to right, hsl(233, 76%, 37%), hsl(233, 76%, 17%))
hex
background-color: #1727A6;
tailwind
bg-[hsl(233,76%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 76%, 37%, 0.4);
css variable
--color-primary: hsl(233, 76%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 76%, 37%)?
HEX: #1727A6 | RGB: rgb(23, 39, 166) | CMYK: 86%, 77%, 0%, 35% | HSV: 233°, 86%, 65%. Copy any format from the conversion table above.
What colors go well with #1727A6?
The complementary color is HSL(53, 76%, 37%). 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, 76%, 37%) in CSS?
As HSL: color: hsl(233, 76%, 37%); — As HEX: color: #1727A6; — As RGB: color: rgb(23, 39, 166); — Tailwind CSS: bg-[hsl(233,76%,37%)] — CSS variable: --color-primary: hsl(233, 76%, 37%);