HSL(237, 85%, 83%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,85%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 85%, 83%) | color: hsl(237, 85%, 83%) | |
| HEX | #AFB2F8 | color: #AFB2F8 | |
| RGB | rgb(175, 178, 248) | color: rgb(175, 178, 248) | |
| CMYK | cmyk(29%, 28%, 0%, 3%) | — | |
| HSV | hsv(238, 29%, 97%) | — | |
| HWB | hwb(238 69% 3%) | color: hwb(238 69% 3%) | |
| OKLCH | oklch(0.7869 0.0993 281.96) | color: oklch(0.7869 0.0993 281.96) | |
| Lab | lab(74.65 14.32 -35.04) | color: lab(74.65 14.32 -35.04) | |
| LCH | lch(74.65 37.85 292.23) | color: lch(74.65 37.85 292.23) |
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)
#B0B0E7 — rgb(176, 176, 231)
Deuteranopia (Green-blind)
#B0B0E3 — rgb(176, 176, 227)
Tritanopia (Blue-blind)
#AFDAD7 — rgb(175, 218, 215)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 85%, 83%);
text
color: hsl(237, 85%, 83%);
border
border: 2px solid hsl(237, 85%, 83%);
gradient light
background: linear-gradient(to right, hsl(237, 85%, 100%), hsl(237, 85%, 83%));
gradient dark
background: linear-gradient(to right, hsl(237, 85%, 83%), hsl(237, 85%, 63%))
hex
background-color: #AFB2F8;
tailwind
bg-[hsl(237,85%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 85%, 83%, 0.4);
css variable
--color-primary: hsl(237, 85%, 83%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 85%, 83%)?
HEX: #AFB2F8 | RGB: rgb(175, 178, 248) | CMYK: 29%, 28%, 0%, 3% | HSV: 238°, 29%, 97%. Copy any format from the conversion table above.
What colors go well with #AFB2F8?
The complementary color is HSL(57, 85%, 83%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 85%, 83%) in CSS?
As HSL: color: hsl(237, 85%, 83%); — As HEX: color: #AFB2F8; — As RGB: color: rgb(175, 178, 248); — Tailwind CSS: bg-[hsl(237,85%,83%)] — CSS variable: --color-primary: hsl(237, 85%, 83%);