Skip to the color picker

#315c8a color: Moroccan Resort

#315c8a is rgb(49, 92, 138) in RGB and oklch(46.586% 0.08931 251.696) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

211°
100%

46.6%
0.089
252°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Denim
  • sky-800
  • Black 46%

Inside sRGB: displays the same on any screen.

White text
6.93:1Readable · AA
Lc -89
Black text
3.03: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 #315c8a

#315c8a is a soft dark blue color. In OKLCH it has 46.6% lightness, 0.089 chroma and a hue of 252°.

Inside sRGB: displays the same on any screen.

White text on it reaches 6.93:1 contrast and black text 3.03: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: #315c8a mixed with white

  1. 315c8a
  2. 456b96
  3. 597ba1
  4. 6c8bad
  5. 809bb9
  6. 95abc5
  7. a9bbd0
  8. beccdc
  9. d4dde8
  10. e9eef3

Darker: #315c8a mixed with black

  1. 315c8a
  2. 294f77
  3. 224265
  4. 1a3653
  5. 132a42
  6. 0c1f32
  7. 061422
  8. 030a14
  9. 010307
  10. 000001

Calmer: #315c8a with less saturation

  1. 315c8a
  2. 365c85
  3. 3b5c81
  4. 3f5c7c
  5. 435c77
  6. 475c72
  7. 4b5b6d
  8. 4f5b69
  9. 535b64
  10. 565a5f

Questions about #315c8a

What color is #315c8a?

#315c8a is soft dark blue. The closest named color is Moroccan Resort. In RGB it is rgb(49, 92, 138), in HSL hsl(211.01, 47.59%, 36.67%) and in OKLCH oklch(46.586% 0.08931 251.696).

What colors go well with #315c8a?

The complementary color of #315c8a is #785016. For a calmer combination use the analogous colors #00647d and #52538a. The triadic partners are #84434c and #47642c.

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

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

Is #315c8a a warm or cool color?

#315c8a is a cool color. In OKLCH its hue is 252 degrees, its lightness 46.6% and its chroma 0.089.