#335F7A
Blue
HEX
RGB
HSL
About #335F7A Blue
#335F7A is a blue color. In the RGB color model, it is composed of 51 red, 95 green, and 122 blue. In the HSL color space, it has a hue of 203°, saturation of 41%, and lightness of 34%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code
Use #335F7A in your CSS, SCSS, or Tailwind projects.
Color Properties
203°
Hue
41%
Saturation
34%
Lightness
Blue
Color Harmonies
Colors that work well with #335F7A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #335F7A against white and black backgrounds.
Aa#335F7A on White
Contrast Ratio6.87:1
AA ✓AA Large ✓AAA ✗
Aa#335F7A on Black
Contrast Ratio3.06:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #335F7A across different color formats.
| Format | Value |
|---|---|
| HEX | #335F7A |
| RGB | rgb(51, 95, 122) |
| HSL | hsl(203, 41%, 34%) |
| RGB Decimal | 51, 95, 122 |
| RGB Percent | 20.0%, 37.3%, 47.8% |
| CMYK (approx.) | 58%, 22%, 0%, 52% |
Related Palettes
12 palettes using #335F7A or similar colors