Photo in the color CG Blue
Pictured: CG Blue
rgb(0, 122, 165)
#007AA5

CG Blue #007AA5 RGB Color Code

CG Blue (#007AA5) is a moderately saturated, medium teal. In RGB it is made of 0% red, 48% green and 65% blue (R 0, G 122, B 165). The blue channel is the strongest. In HSL it has a hue of 196Β°, 100% saturation and 32% lightness. Its relative luminance is 0.166, so white text is easier to read on top of it. For print, a rough CMYK match is 100% cyan, 26% magenta, 0% yellow and 35% 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

CG Blue color codes

#007AA5 in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #007AA5 Valid CSS
RGB rgb(0, 122, 165) Valid CSS
HSL hsl(196, 100%, 32%) Valid CSS
HSV / HSB hsv(196, 100%, 65%) Not a CSS format
HWB hwb(196 0% 35%) Valid CSS
CMYK cmyk(100%, 26%, 0%, 35%) Approximate (no ICC profile)
OKLCH oklch(54.43% 0.111 231.97) Valid CSS
OKLab oklab(54.43% -0.0684 -0.0874) Valid CSS
CIELAB lab(47.28% -17.17 -31.65) D50, as in CSS
CIELCH lch(47.28% 36.01 241.52) Valid CSS
Display P3 color(display-p3 0.2046 0.471 0.6316) Valid CSS
XYZ (D65) color(xyz-d65 0.1375 0.1663 0.3808) Valid CSS
Decimal 31397 Integer (0xRRGGBB)

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

Mix CG Blue with other colors

See what #007AA5 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 CG Blue in your code

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

WhereCodeCopy
CSS variable--cg-blue: #007AA5;
Sass variable$cg-blue: #007AA5;
Tailwind CSS v4@theme { --color-cg-blue: #007AA5; }
Tailwind CSS v3 configcolors: { 'cg-blue': '#007AA5' }
SwiftUIColor(red: 0, green: 0.478, blue: 0.647)
UIKitUIColor(red: 0, green: 0.478, blue: 0.647, alpha: 1)
Android XML<color name="cg_blue">#FF007AA5</color>
Flutter and Jetpack ComposeColor(0xFF007AA5)

Accessibility and contrast

White text works best on #007AA5 (4.85:1, AA). Here is how #007AA5 does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
4.85:1 on white
APCA Lc 73
AA
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
4.33:1 on black
APCA Lc -29
AA LargeTry #087DA8

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 CG Blue

#007AA5 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

With deuteranopia, #007AA5 and #A5007A look much alike. Don't use these colors alone to tell things apart, for example in a chart. Add labels, patterns or a difference in lightness. Try your own colors in the color blindness simulator.

About the color CG Blue

Blue for the Coast Guard

CG stands for Coast Guard. CG blue is one of the official colors of the United States Coast Guard, next to CG red and white. You see it as the thin blue band in the slanted Racing Stripe on Coast Guard cutters, boats and aircraft. Boats of the volunteer Coast Guard Auxiliary flip the design, so their wide bar is blue instead of red.

Raymond Loewy's design office drew the stripe in 1964. Loewy had already styled the paint of Air Force One, and President Kennedy liked that work so much that he suggested the Coast Guard as Loewy's next government job. The Wikipedia article on the Coast Guard tells the full story.

How exact is the code?

We found no Coast Guard paper that gives #007AA5. A model makers forum quotes the Coast Guard as naming Pantone 307 for the stripe blue. We could not find that page ourselves, so take the code as a close match. It is nearly the same as cerulean, which is #007BA7. To check text on it, try the contrast checker.

CG Blue in a user interface

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

Light theme

Dark theme

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

Color harmonies for CG Blue

These schemes turn the hue of #007AA5 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 CG Blue

Four CSS gradients made from #007AA5. 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, #D3E4ED, #007AA5);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #007AA5, #001D2B);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #00A57E, #007AA5, #0027A5);

Edit in the gradient generator

Triadic

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

background: linear-gradient(135deg, #007AA5, #7A568F, #A5007A);

Edit in the gradient generator

Shades, tints and tones of CG Blue

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)

CG Blue sits at step 600. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    EEF9FF
  2. 100
    D8F1FF
  3. 200
    B0E3FF
  4. 300
    82CCF2
  5. 400
    56AEDA
  6. 500
    2D91BD
  7. 600
    007AA5
  8. 700
    005D7F
  9. 800
    004964
  10. 900
    00354B
  11. 950
    05202D

Closest RAL, Tailwind and CSS colors

The nearest match to #007AA5 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 teal or search the color library.