Skip to the color picker

#315c8d color: Moroccan Resort

#315c8d is rgb(49, 92, 141) in RGB and oklch(46.759% 0.09341 253.093) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

212°
100%

46.8%
0.093
253°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Denim
  • sky-800
  • Black 45%

Inside sRGB: displays the same on any screen.

White text
6.89:1Readable · AA
Lc -89
Black text
3.05: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 #315c8d

#315c8d is a soft dark blue color. In OKLCH it has 46.8% lightness, 0.093 chroma and a hue of 253°.

Inside sRGB: displays the same on any screen.

White text on it reaches 6.89:1 contrast and black text 3.05: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: #315c8d mixed with white

  1. 315c8d
  2. 456c99
  3. 597ba4
  4. 6c8baf
  5. 809bbb
  6. 95abc6
  7. a9bcd2
  8. beccdd
  9. d3dde8
  10. e9eef4

Darker: #315c8d mixed with black

  1. 315c8d
  2. 294f7a
  3. 224267
  4. 1a3655
  5. 132a44
  6. 0c1f33
  7. 061423
  8. 030a14
  9. 010307
  10. 000001

Calmer: #315c8d with less saturation

  1. 315c8d
  2. 365c88
  3. 3b5c83
  4. 3f5c7e
  5. 445c79
  6. 485c74
  7. 4b5c6f
  8. 4f5b6a
  9. 535b65
  10. 575b5f

Questions about #315c8d

What color is #315c8d?

#315c8d is soft dark blue. The closest named color is Moroccan Resort. In RGB it is rgb(49, 92, 141), in HSL hsl(211.96, 48.42%, 37.25%) and in OKLCH oklch(46.759% 0.09341 253.093).

What colors go well with #315c8d?

The complementary color of #315c8d is #79510e. For a calmer combination use the analogous colors #006580 and #53528d. The triadic partners are #86424b and #45652b.

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

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

Is #315c8d a warm or cool color?

#315c8d is a cool color. In OKLCH its hue is 253 degrees, its lightness 46.8% and its chroma 0.093.