Skip to the color picker

#335c8a color: Moroccan Resort

#335c8a is rgb(51, 92, 138) in RGB and oklch(46.681% 0.08836 252.632) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

212°
100%

46.7%
0.088
253°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Denim
  • sky-800
  • Black 46%

Inside sRGB: displays the same on any screen.

White text
6.91:1Readable · AA
Lc -89
Black text
3.04:1Hard to read
Lc 20

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Open as palette

Recent

Colors you stop on or copy appear here. They stay on this device.

About #335c8a

#335c8a is a soft dark blue color. In OKLCH it has 46.7% lightness, 0.088 chroma and a hue of 253°.

Inside sRGB: displays the same on any screen.

White text on it reaches 6.91:1 contrast and black text 3.04:1, so white text reads better.

The closest named color is Moroccan Resort (#335e8b). In Tailwind CSS the closest color is sky-800.

More dark blue colors

Lighter: #335c8a mixed with white

  1. 335c8a
  2. 476b96
  3. 5a7ba1
  4. 6d8bad
  5. 819bb9
  6. 95abc4
  7. aabbd0
  8. bfccdc
  9. d4dde8
  10. e9eef3

Darker: #335c8a mixed with black

  1. 335c8a
  2. 2b4f77
  3. 234265
  4. 1c3653
  5. 142a42
  6. 0d1f32
  7. 071422
  8. 030a14
  9. 010307
  10. 000001

Calmer: #335c8a with less saturation

  1. 335c8a
  2. 385c85
  3. 3c5c81
  4. 405c7c
  5. 445c77
  6. 485c72
  7. 4c5b6e
  8. 505b69
  9. 535b64
  10. 565a5f

Questions about #335c8a

What color is #335c8a?

#335c8a is soft dark blue. The closest named color is Moroccan Resort. In RGB it is rgb(51, 92, 138), in HSL hsl(211.72, 46.03%, 37.06%) and in OKLCH oklch(46.681% 0.08836 252.632).

What colors go well with #335c8a?

The complementary color of #335c8a is #785117. For a calmer combination use the analogous colors #00647e and #53538a. The triadic partners are #84434c and #46642e.

Is white or black text more readable on #335c8a?

White text reads better on #335c8a: white gives a contrast ratio of 6.91:1 and black gives 3.04:1. WCAG AA asks for at least 4.5:1 for body text.

Is #335c8a a warm or cool color?

#335c8a is a cool color. In OKLCH its hue is 253 degrees, its lightness 46.7% and its chroma 0.088.