Photo in the color Yale Blue
Pictured: Yale Blue, the closest color we have a photo of (#0F4D92)
rgb(28, 77, 143)
#1C4D8F

Dancing Sea #1C4D8F RGB Color Code

Name from the community color list.

Dancing Sea (#1C4D8F) is a moderately saturated, dark blue. In RGB it is made of 11% red, 30% green and 56% blue (R 28, G 77, B 143). The blue channel is the strongest. In HSL it has a hue of 214°, 67% saturation and 34% lightness. Its relative luminance is 0.075, so white text is easier to read on top of it. For print, a rough CMYK match is 80% cyan, 46% magenta, 0% yellow and 44% black. Check it against your printer's ICC profile before you print. It is a cool color. It goes well with warm oranges and reds for contrast. For a calm, matching look, use nearby cool tones.

Open in color picker

Dancing Sea color codes

#1C4D8F in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #1C4D8F Valid CSS
RGB rgb(28, 77, 143) Valid CSS
HSL hsl(214, 67%, 34%) Valid CSS
HSV / HSB hsv(214, 80%, 56%) Not a CSS format
HWB hwb(214 11% 44%) Valid CSS
CMYK cmyk(80%, 46%, 0%, 44%) Approximate (no ICC profile)
OKLCH oklch(42.49% 0.1212 257.11) Valid CSS
OKLab oklab(42.49% -0.027 -0.1181) Valid CSS
CIELAB lab(32.36% 3.04 -42.06) D50, as in CSS
CIELCH lch(32.36% 42.17 274.13) Valid CSS
Display P3 color(display-p3 0.163 0.2978 0.5427) Valid CSS
XYZ (D65) color(xyz-d65 0.0809 0.0754 0.2702) Valid CSS
Decimal 1854863 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.0754. Nearest web-safe color: #336699.

Mix Dancing Sea with other colors

See what #1C4D8F makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Dancing Sea in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--dancing-sea: #1C4D8F;
Sass variable$dancing-sea: #1C4D8F;
Tailwind CSS v4@theme { --color-dancing-sea: #1C4D8F; }
Tailwind CSS v3 configcolors: { 'dancing-sea': '#1C4D8F' }
SwiftUIColor(red: 0.11, green: 0.302, blue: 0.561)
UIKitUIColor(red: 0.11, green: 0.302, blue: 0.561, alpha: 1)
Android XML<color name="dancing_sea">#FF1C4D8F</color>
Flutter and Jetpack ComposeColor(0xFF1C4D8F)

Accessibility and contrast

White text works best on #1C4D8F (8.37:1, AAA). Here is how #1C4D8F does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
8.37:1 on white
APCA Lc 89
AAA
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
2.51:1 on black
APCA Lc -14
Fails AATry #4375BB

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Dancing Sea

#1C4D8F next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#1C4D8F stays easy to tell apart from its complement and triadic colors for the common types of color blindness. Try your own colors in the color blindness simulator.

Dancing Sea in a user interface

A sample app screen with #1C4D8F as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #1C4D8F as it is. On the dark theme, #1C4D8F is too hard to read as text (2.12:1), so links, the badge and outline text use #4F81C8 there (4.49:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Dancing Sea

These schemes turn the hue of #1C4D8F around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Dancing Sea

Four CSS gradients made from #1C4D8F. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #CFDAE9, #1C4D8F);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #1C4D8F, #020F24);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #1C878F, #1C4D8F, #251C8F);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #1C4D8F, #63406F, #8F1C4D);

Edit in the gradient generator

Shades, tints and tones of Dancing Sea

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Dancing Sea sits at step 700. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    F2F7FF
  2. 100
    E2EEFF
  3. 200
    C5DDFF
  4. 300
    99C3FF
  5. 400
    74A5EA
  6. 500
    5587CE
  7. 600
    3C6CAF
  8. 700
    1C4D8F
  9. 800
    1D4275
  10. 900
    153056
  11. 950
    0F1D32

Closest RAL, Tailwind and CSS colors

The nearest match to #1C4D8F in three color systems that designers and builders use.

ΔE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (ΔE in OKLab). Browse all shades of blue or search the color library.