Skip to the color picker

#315e8d color: Moroccan Resort

#315e8d is rgb(49, 94, 141) in RGB and oklch(47.24% 0.09139 251.237) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

211°
100%

47.2%
0.091
251°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Denim
  • sky-800
  • Black 45%

Inside sRGB: displays the same on any screen.

White text
6.74:1Readable · AA
Lc -88
Black text
3.12:1Hard to read
Lc 21

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 #315e8d

#315e8d is a soft dark blue color. In OKLCH it has 47.2% lightness, 0.091 chroma and a hue of 251°.

Inside sRGB: displays the same on any screen.

White text on it reaches 6.74:1 contrast and black text 3.12: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: #315e8d mixed with white

  1. 315e8d
  2. 456d98
  3. 597da4
  4. 6d8caf
  5. 819cbb
  6. 95acc6
  7. aabcd2
  8. becddd
  9. d4dde8
  10. e9eef4

Darker: #315e8d mixed with black

  1. 315e8d
  2. 29517a
  3. 224467
  4. 1a3755
  5. 132b44
  6. 0c1f33
  7. 061423
  8. 030a14
  9. 010307
  10. 000001

Calmer: #315e8d with less saturation

  1. 315e8d
  2. 365e88
  3. 3b5e83
  4. 405e7f
  5. 445e7a
  6. 485e75
  7. 4d5d70
  8. 505d6b
  9. 545c66
  10. 585c61

Questions about #315e8d

What color is #315e8d?

#315e8d is soft dark blue. The closest named color is Moroccan Resort. In RGB it is rgb(49, 94, 141), in HSL hsl(210.65, 48.42%, 37.25%) and in OKLCH oklch(47.24% 0.09139 251.237).

What colors go well with #315e8d?

The complementary color of #315e8d is #7b5215. For a calmer combination use the analogous colors #006680 and #53548d. The triadic partners are #87444e and #49662c.

Is white or black text more readable on #315e8d?

White text reads better on #315e8d: white gives a contrast ratio of 6.74:1 and black gives 3.12:1. WCAG AA asks for at least 4.5:1 for body text.

Is #315e8d a warm or cool color?

#315e8d is a cool color. In OKLCH its hue is 251 degrees, its lightness 47.2% and its chroma 0.091.