HSL(231, 82%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,82%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 82%, 68%) | color: hsl(231, 82%, 68%) | |
| HEX | #6A7FF0 | color: #6A7FF0 | |
| RGB | rgb(106, 127, 240) | color: rgb(106, 127, 240) | |
| CMYK | cmyk(56%, 47%, 0%, 6%) | — | |
| HSV | hsv(231, 56%, 94%) | — | |
| HWB | hwb(231 41% 6%) | color: hwb(231 41% 6%) | |
| OKLCH | oklch(0.6352 0.1697 272.76) | color: oklch(0.6352 0.1697 272.76) | |
| Lab | lab(56.62 24.59 -59.4) | color: lab(56.62 24.59 -59.4) | |
| LCH | lch(56.62 64.29 292.49) | color: lch(56.62 64.29 292.49) |
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)
#7373D5 — rgb(115, 115, 213)
Deuteranopia (Green-blind)
#7270CE — rgb(114, 112, 206)
Tritanopia (Blue-blind)
#6BBFBA — rgb(107, 191, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 82%, 68%);
text
color: hsl(231, 82%, 68%);
border
border: 2px solid hsl(231, 82%, 68%);
gradient light
background: linear-gradient(to right, hsl(231, 82%, 88%), hsl(231, 82%, 68%));
gradient dark
background: linear-gradient(to right, hsl(231, 82%, 68%), hsl(231, 82%, 48%))
hex
background-color: #6A7FF0;
tailwind
bg-[hsl(231,82%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 82%, 68%, 0.4);
css variable
--color-primary: hsl(231, 82%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 82%, 68%)?
HEX: #6A7FF0 | RGB: rgb(106, 127, 240) | CMYK: 56%, 47%, 0%, 6% | HSV: 231°, 56%, 94%. Copy any format from the conversion table above.
What colors go well with #6A7FF0?
The complementary color is HSL(51, 82%, 68%). 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, 82%, 68%) in CSS?
As HSL: color: hsl(231, 82%, 68%); — As HEX: color: #6A7FF0; — As RGB: color: rgb(106, 127, 240); — Tailwind CSS: bg-[hsl(231,82%,68%)] — CSS variable: --color-primary: hsl(231, 82%, 68%);