#335A8A
Blue
HEX
RGB
HSL
About #335A8A Blue
#335A8A is a blue color. In the RGB color model, it is composed of 51 red, 90 green, and 138 blue. In the HSL color space, it has a hue of 213°, saturation of 46%, and lightness of 37%.
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 #335A8A in your CSS, SCSS, or Tailwind projects.
Color Properties
213°
Hue
46%
Saturation
37%
Lightness
Blue
Color Harmonies
Colors that work well with #335A8A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #335A8A against white and black backgrounds.
Aa#335A8A on White
Contrast Ratio7.07:1
AA ✓AA Large ✓AAA ✓
Aa#335A8A on Black
Contrast Ratio2.97:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #335A8A across different color formats.
| Format | Value |
|---|---|
| HEX | #335A8A |
| RGB | rgb(51, 90, 138) |
| HSL | hsl(213, 46%, 37%) |
| RGB Decimal | 51, 90, 138 |
| RGB Percent | 20.0%, 35.3%, 54.1% |
| CMYK (approx.) | 63%, 35%, 0%, 46% |
Related Palettes
12 palettes using #335A8A or similar colors