HSL(231, 31%, 57%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,31%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 31%, 57%) | color: hsl(231, 31%, 57%) | |
| HEX | #6F7AB3 | color: #6F7AB3 | |
| RGB | rgb(111, 122, 179) | color: rgb(111, 122, 179) | |
| CMYK | cmyk(38%, 32%, 0%, 30%) | — | |
| HSV | hsv(230, 38%, 70%) | — | |
| HWB | hwb(230 43% 30%) | color: hwb(230 43% 30%) | |
| OKLCH | oklch(0.5939 0.0882 275.04) | color: oklch(0.5939 0.0882 275.04) | |
| Lab | lab(52.46 10.29 -31.46) | color: lab(52.46 10.29 -31.46) | |
| LCH | lch(52.46 33.1 288.11) | color: lch(52.46 33.1 288.11) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#7474A5 — rgb(116, 116, 165)
Deuteranopia (Green-blind)
#7372A2 — rgb(115, 114, 162)
Tritanopia (Blue-blind)
#709A98 — rgb(112, 154, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 31%, 57%);
text
color: hsl(231, 31%, 57%);
border
border: 2px solid hsl(231, 31%, 57%);
gradient light
background: linear-gradient(to right, hsl(231, 31%, 77%), hsl(231, 31%, 57%));
gradient dark
background: linear-gradient(to right, hsl(231, 31%, 57%), hsl(231, 31%, 37%))
hex
background-color: #6F7AB3;
tailwind
bg-[hsl(231,31%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 31%, 57%, 0.4);
css variable
--color-primary: hsl(231, 31%, 57%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 31%, 57%)?
HEX: #6F7AB3 | RGB: rgb(111, 122, 179) | CMYK: 38%, 32%, 0%, 30% | HSV: 230°, 38%, 70%. Copy any format from the conversion table above.
What colors go well with #6F7AB3?
The complementary color is HSL(51, 31%, 57%). 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, 31%, 57%) in CSS?
As HSL: color: hsl(231, 31%, 57%); — As HEX: color: #6F7AB3; — As RGB: color: rgb(111, 122, 179); — Tailwind CSS: bg-[hsl(231,31%,57%)] — CSS variable: --color-primary: hsl(231, 31%, 57%);