HSL(230, 61%, 26%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,61%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 61%, 26%) | color: hsl(230, 61%, 26%) | |
| HEX | #1A276B | color: #1A276B | |
| RGB | rgb(26, 39, 107) | color: rgb(26, 39, 107) | |
| CMYK | cmyk(76%, 64%, 0%, 58%) | — | |
| HSV | hsv(230, 76%, 42%) | — | |
| HWB | hwb(230 10% 58%) | color: hwb(230 10% 58%) | |
| OKLCH | oklch(0.3091 0.1191 269.7) | color: oklch(0.3091 0.1191 269.7) | |
| Lab | lab(18.94 20.45 -41.27) | color: lab(18.94 20.45 -41.27) | |
| LCH | lch(18.94 46.06 296.36) | color: lch(18.94 46.06 296.36) |
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)
#20205B — rgb(32, 32, 91)
Deuteranopia (Green-blind)
#1F1E57 — rgb(31, 30, 87)
Tritanopia (Blue-blind)
#1B4E4B — rgb(27, 78, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 61%, 26%);
text
color: hsl(230, 61%, 26%);
border
border: 2px solid hsl(230, 61%, 26%);
gradient light
background: linear-gradient(to right, hsl(230, 61%, 46%), hsl(230, 61%, 26%));
gradient dark
background: linear-gradient(to right, hsl(230, 61%, 26%), hsl(230, 61%, 6%))
hex
background-color: #1A276B;
tailwind
bg-[hsl(230,61%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 61%, 26%, 0.4);
css variable
--color-primary: hsl(230, 61%, 26%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 61%, 26%)?
HEX: #1A276B | RGB: rgb(26, 39, 107) | CMYK: 76%, 64%, 0%, 58% | HSV: 230°, 76%, 42%. Copy any format from the conversion table above.
What colors go well with #1A276B?
The complementary color is HSL(50, 61%, 26%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 61%, 26%) in CSS?
As HSL: color: hsl(230, 61%, 26%); — As HEX: color: #1A276B; — As RGB: color: rgb(26, 39, 107); — Tailwind CSS: bg-[hsl(230,61%,26%)] — CSS variable: --color-primary: hsl(230, 61%, 26%);