cerulean color code
The hex code for cerulean is #007BA7, which is rgb(0, 123, 167) in RGB and cmyk(100%, 26%, 0%, 35%) in CMYK. It's a dark, vivid blue. There is no official standard for cerulean; #007BA7 is the value most colour references use.
Build a full palette from it: open in the palette generator.
Move the sliders to find a lighter, darker or softer cerulean; the codes update as you go.
Cerulean colour codes
| HEX | #007BA7 |
|---|---|
| RGB | rgb(0, 123, 167) |
| HSL | hsl(196, 100%, 33%) |
| HSV / HSB | hsv(196, 100%, 65%) |
| CMYK | cmyk(100%, 26%, 0%, 35%) |
| Decimal | 31655 |
About cerulean
Cerulean sits at a hue of 196° on the colour wheel, with 100% saturation and 33% lightness. That makes it a cool colour: cool colours feel calm and steady and appear to recede, so they work well for large areas.
From the Latin caeruleum, meaning sky blue.
For text, white reads better on cerulean. Cerulean as text on a white background has a contrast ratio of 4.78:1, which passes the WCAG AA rule for body text (4.5:1). On black it is 4.39:1, which fails AA for body text.
Tints and shades of cerulean
Tints mix cerulean with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.
Colours that go with cerulean
Complementary — opposite on the colour wheel: maximum contrast
Analogous — neighbours 30° either side: calm and natural
Triadic — three hues 120° apart: lively but balanced
Split complementary — the two neighbours of the complement: contrast with less tension
Tetradic — four hues 90° apart: rich, use one as the main colour
Cerulean text contrast
| Combination | Ratio | AA normal (4.5:1) | AA large (3:1) | AAA (7:1) |
|---|---|---|---|---|
| cerulean on white | 4.78:1 | pass | pass | fail |
| cerulean on black | 4.39:1 | fail | pass | fail |
Check cerulean against any other colour in the contrast checker.
How cerulean looks with colour blindness
Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.
Use cerulean in code
.cerulean {
color: #007ba7;
background-color: #007ba7;
border-color: rgb(0, 123, 167);
}Frequently asked questions
What is the hex code for cerulean?
#007BA7 is the most widely used value for cerulean. There's no official standard, so paint, fabric and brand swatches called cerulean can differ slightly; use the hex code to match it exactly on screen.
What is cerulean in RGB, HSL and CMYK?
RGB: rgb(0, 123, 167). HSL: hsl(196, 100%, 33%). CMYK: cmyk(100%, 26%, 0%, 35%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.
What colours go with cerulean?
Its complementary colour is #A72C00 (close to rust), which gives the strongest contrast. For a calmer look, use the analogous colours #00A77F and #0028A7, or the triadic pair #A7007B and #7BA700. Tints and shades of cerulean itself always work together.
Is cerulean a warm or cool colour?
Cerulean has a hue of 196°, which makes it cool.
Should I use black or white text on cerulean?
White. Black text on cerulean has a contrast ratio of 4.39:1 and white text has 4.78:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
Is cerulean a CSS colour name?
No. Cerulean isn't one of the named colours built into CSS, so write it as a hex code: color: #007ba7;