HSL(166, 52%, 31%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(166,52%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(166, 52%, 31%) | color: hsl(166, 52%, 31%) | |
| HEX | #267865 | color: #267865 | |
| RGB | rgb(38, 120, 101) | color: rgb(38, 120, 101) | |
| CMYK | cmyk(68%, 0%, 16%, 53%) | — | |
| HSV | hsv(166, 68%, 47%) | — | |
| HWB | hwb(166 15% 53%) | color: hwb(166 15% 53%) | |
| OKLCH | oklch(0.5182 0.0839 174.36) | color: oklch(0.5182 0.0839 174.36) | |
| Lab | lab(45.34 -29.42 3.28) | color: lab(45.34 -29.42 3.28) | |
| LCH | lch(45.34 29.6 173.64) | color: lch(45.34 29.6 173.64) |
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)
#4A4A6A — rgb(74, 74, 106)
Deuteranopia (Green-blind)
#453F6B — rgb(69, 63, 107)
Tritanopia (Blue-blind)
#2A6D6E — rgb(42, 109, 110)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(166, 52%, 31%);
text
color: hsl(166, 52%, 31%);
border
border: 2px solid hsl(166, 52%, 31%);
gradient light
background: linear-gradient(to right, hsl(166, 52%, 51%), hsl(166, 52%, 31%));
gradient dark
background: linear-gradient(to right, hsl(166, 52%, 31%), hsl(166, 52%, 11%))
hex
background-color: #267865;
tailwind
bg-[hsl(166,52%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(166, 52%, 31%, 0.4);
css variable
--color-primary: hsl(166, 52%, 31%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(166, 52%, 31%)?
HEX: #267865 | RGB: rgb(38, 120, 101) | CMYK: 68%, 0%, 16%, 53% | HSV: 166°, 68%, 47%. Copy any format from the conversion table above.
What colors go well with #267865?
The complementary color is HSL(346, 52%, 31%). For a triadic harmony, use hues 166°, 286°, and 46°. For analogous combinations, try hues 136° and 196°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(166, 52%, 31%) in CSS?
As HSL: color: hsl(166, 52%, 31%); — As HEX: color: #267865; — As RGB: color: rgb(38, 120, 101); — Tailwind CSS: bg-[hsl(166,52%,31%)] — CSS variable: --color-primary: hsl(166, 52%, 31%);