Royal Blue color: #4169e1
The CSS keyword royalblue is #4169e1, rgb(65, 105, 225) or hsl(225, 73%, 57%). Its codes to copy, 50–950 tint scale, harmonies and contrast on white and black.
Part of design tools.
About Royal Blue
Royal Blue is a mid-tone blue. Its hue sits at 266° in OKLCH and 225° in HSL — the two wheels are spaced differently, which is why the numbers disagree.
The keyword royalblue comes from the X Window System color list, which SVG 1.0 adopted and CSS Color Level 3 brought to every stylesheet.
Royal Blue tint scale, 50 to 950
Eleven steps at fixed perceived lightness, in OKLCH, holding royalblue’s own hue from end to end. The keyword itself falls closest to step 600 (#3a60d5), the one outlined; step 500 is #517cf6.
Harmonies built on Royal Blue
Hue angles measured in OKLCH, so every accent keeps royalblue’s perceived lightness. Its complement is #926f00, closest to the named color olive.
Complementary
Analogous
Triadic
Split-complementary
Royal Blue on white and on black
White text reads better on royalblue (4.84:1). As a text color it is readable on a white page (4.84:1, AA). AA asks 4.5:1 for body text and 3:1 for large text; AAA asks 7:1.
Named colors close to Royal Blue
Open royalblue in the full tools
- Open in Color Converter — convert it to any other notation.
- Open in Palette Generator — export its scale as --royalblue-50 … --royalblue-950 tokens.
- Open in Color Harmonies — turn the wheel and compare OKLCH with HSL.
- Open in Contrast Checker — test it against any background, with the closest passing shade.
- Open in Color System Generator — derive a light and dark token set from it.
Or browse every named color from the color converter.