HSL(230, 81%, 68%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,81%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 81%, 68%) | color: hsl(230, 81%, 68%) | |
| HEX | #6B81EF | color: #6B81EF | |
| RGB | rgb(107, 129, 239) | color: rgb(107, 129, 239) | |
| CMYK | cmyk(55%, 46%, 0%, 6%) | — | |
| HSV | hsv(230, 55%, 94%) | — | |
| HWB | hwb(230 42% 6%) | color: hwb(230 42% 6%) | |
| OKLCH | oklch(0.6391 0.1655 272.41) | color: oklch(0.6391 0.1655 272.41) | |
| Lab | lab(57.13 23.27 -58.02) | color: lab(57.13 23.27 -58.02) | |
| LCH | lch(57.13 62.51 291.85) | color: lch(57.13 62.51 291.85) |
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)
#7575D4 — rgb(117, 117, 212)
Deuteranopia (Green-blind)
#7372CE — rgb(115, 114, 206)
Tritanopia (Blue-blind)
#6CBFBB — rgb(108, 191, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 81%, 68%);
text
color: hsl(230, 81%, 68%);
border
border: 2px solid hsl(230, 81%, 68%);
gradient light
background: linear-gradient(to right, hsl(230, 81%, 88%), hsl(230, 81%, 68%));
gradient dark
background: linear-gradient(to right, hsl(230, 81%, 68%), hsl(230, 81%, 48%))
hex
background-color: #6B81EF;
tailwind
bg-[hsl(230,81%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 81%, 68%, 0.4);
css variable
--color-primary: hsl(230, 81%, 68%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 81%, 68%)?
HEX: #6B81EF | RGB: rgb(107, 129, 239) | CMYK: 55%, 46%, 0%, 6% | HSV: 230°, 55%, 94%. Copy any format from the conversion table above.
What colors go well with #6B81EF?
The complementary color is HSL(50, 81%, 68%). 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, 81%, 68%) in CSS?
As HSL: color: hsl(230, 81%, 68%); — As HEX: color: #6B81EF; — As RGB: color: rgb(107, 129, 239); — Tailwind CSS: bg-[hsl(230,81%,68%)] — CSS variable: --color-primary: hsl(230, 81%, 68%);