HSL(238, 70%, 69%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(238,70%,69%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(238, 70%, 69%) | color: hsl(238, 70%, 69%) | |
| HEX | #797CE7 | color: #797CE7 | |
| RGB | rgb(121, 124, 231) | color: rgb(121, 124, 231) | |
| CMYK | cmyk(48%, 46%, 0%, 9%) | — | |
| HSV | hsv(238, 48%, 91%) | — | |
| HWB | hwb(238 47% 9%) | color: hwb(238 47% 9%) | |
| OKLCH | oklch(0.634 0.1578 279.68) | color: oklch(0.634 0.1578 279.68) | |
| Lab | lab(56.34 26.79 -54.78) | color: lab(56.34 26.79 -54.78) | |
| LCH | lch(56.34 60.98 296.06) | color: lch(56.34 60.98 296.06) |
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)
#7A7ACD — rgb(122, 122, 205)
Deuteranopia (Green-blind)
#7A7AC7 — rgb(122, 122, 199)
Tritanopia (Blue-blind)
#79B9B4 — rgb(121, 185, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(238, 70%, 69%);
text
color: hsl(238, 70%, 69%);
border
border: 2px solid hsl(238, 70%, 69%);
gradient light
background: linear-gradient(to right, hsl(238, 70%, 89%), hsl(238, 70%, 69%));
gradient dark
background: linear-gradient(to right, hsl(238, 70%, 69%), hsl(238, 70%, 49%))
hex
background-color: #797CE7;
tailwind
bg-[hsl(238,70%,69%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(238, 70%, 69%, 0.4);
css variable
--color-primary: hsl(238, 70%, 69%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(238, 70%, 69%)?
HEX: #797CE7 | RGB: rgb(121, 124, 231) | CMYK: 48%, 46%, 0%, 9% | HSV: 238°, 48%, 91%. Copy any format from the conversion table above.
What colors go well with #797CE7?
The complementary color is HSL(58, 70%, 69%). For a triadic harmony, use hues 238°, 358°, and 118°. For analogous combinations, try hues 208° and 268°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(238, 70%, 69%) in CSS?
As HSL: color: hsl(238, 70%, 69%); — As HEX: color: #797CE7; — As RGB: color: rgb(121, 124, 231); — Tailwind CSS: bg-[hsl(238,70%,69%)] — CSS variable: --color-primary: hsl(238, 70%, 69%);