Skip to the color picker

#315e8a color: Moroccan Resort

#315e8a is rgb(49, 94, 138) in RGB and oklch(47.07% 0.08737 249.7) in OKLCH. Every other format, shade and contrast value is below.

Read as HEX

210°
100%

47.1%
0.087
250°
  • Blue
  • Dark
  • Soft
  • Cool
  • ≈ Denim
  • sky-800
  • Black 46%

Inside sRGB: displays the same on any screen.

White text
6.78:1Readable · AA
Lc -88
Black text
3.10: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 #315e8a

#315e8a is a soft dark blue color. In OKLCH it has 47.1% lightness, 0.087 chroma and a hue of 250°.

Inside sRGB: displays the same on any screen.

White text on it reaches 6.78:1 contrast and black text 3.1: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: #315e8a mixed with white

  1. 315e8a
  2. 456d96
  3. 597da1
  4. 6d8cad
  5. 819cb9
  6. 95acc4
  7. aabcd0
  8. becddc
  9. d4dde8
  10. e9eef3

Darker: #315e8a mixed with black

  1. 315e8a
  2. 295177
  3. 224465
  4. 1a3753
  5. 132b42
  6. 0c1f32
  7. 061422
  8. 030a14
  9. 010307
  10. 000001

Calmer: #315e8a with less saturation

  1. 315e8a
  2. 365e85
  3. 3b5e81
  4. 405e7c
  5. 445e78
  6. 485d73
  7. 4c5d6e
  8. 505c6a
  9. 545c65
  10. 575b60

Questions about #315e8a

What color is #315e8a?

#315e8a is soft dark blue. The closest named color is Moroccan Resort. In RGB it is rgb(49, 94, 138), in HSL hsl(209.66, 47.59%, 36.67%) and in OKLCH oklch(47.07% 0.08737 249.7).

What colors go well with #315e8a?

The complementary color of #315e8a is #7a511b. For a calmer combination use the analogous colors #00667d and #51558b. The triadic partners are #844550 and #4b652d.

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

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

Is #315e8a a warm or cool color?

#315e8a is a cool color. In OKLCH its hue is 250 degrees, its lightness 47.1% and its chroma 0.087.