HSL(231, 83%, 38%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,83%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 83%, 38%) | color: hsl(231, 83%, 38%) | |
| HEX | #1029B1 | color: #1029B1 | |
| RGB | rgb(16, 41, 177) | color: rgb(16, 41, 177) | |
| CMYK | cmyk(91%, 77%, 0%, 31%) | — | |
| HSV | hsv(231, 91%, 69%) | — | |
| HWB | hwb(231 6% 31%) | color: hwb(231 6% 31%) | |
| OKLCH | oklch(0.3837 0.2112 265.83) | color: oklch(0.3837 0.2112 265.83) | |
| Lab | lab(26.36 44.81 -72.62) | color: lab(26.36 44.81 -72.62) | |
| LCH | lch(26.36 85.33 301.68) | color: lch(26.36 85.33 301.68) |
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)
#1B1B90 — rgb(27, 27, 144)
Deuteranopia (Green-blind)
#191888 — rgb(25, 24, 136)
Tritanopia (Blue-blind)
#117670 — rgb(17, 118, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 83%, 38%);
text
color: hsl(231, 83%, 38%);
border
border: 2px solid hsl(231, 83%, 38%);
gradient light
background: linear-gradient(to right, hsl(231, 83%, 58%), hsl(231, 83%, 38%));
gradient dark
background: linear-gradient(to right, hsl(231, 83%, 38%), hsl(231, 83%, 18%))
hex
background-color: #1029B1;
tailwind
bg-[hsl(231,83%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 83%, 38%, 0.4);
css variable
--color-primary: hsl(231, 83%, 38%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 83%, 38%)?
HEX: #1029B1 | RGB: rgb(16, 41, 177) | CMYK: 91%, 77%, 0%, 31% | HSV: 231°, 91%, 69%. Copy any format from the conversion table above.
What colors go well with #1029B1?
The complementary color is HSL(51, 83%, 38%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 83%, 38%) in CSS?
As HSL: color: hsl(231, 83%, 38%); — As HEX: color: #1029B1; — As RGB: color: rgb(16, 41, 177); — Tailwind CSS: bg-[hsl(231,83%,38%)] — CSS variable: --color-primary: hsl(231, 83%, 38%);