Skip to content

Basic HTML and CSS color

Aqua #00FFFF

Aqua (CSS keyword aqua) has the hex code #00FFFF and the RGB value rgb(0, 255, 255): a very light, vivid cyan.

Aqua#00FFFF

Aqua is one of the 16 original HTML colors from the VGA palette and is exactly the same value as cyan (#00ffff). Browsers treat the two keywords as identical.

The keyword cyan has exactly the same value (#00FFFF); browsers treat them as the same color.

Color codes for Aqua

Color codes for Aqua
CSS keywordaqua
HEX#00FFFF
RGBrgb(0, 255, 255)
HSLhsl(180, 100%, 50%)
HWBhwb(180 0% 0%)
OKLCHoklch(90.5% 0.155 194.8)
CMYK (naive, no ICC profile)cmyk(100%, 0%, 0%, 0%)
Decimal65,535
Hue familyCyans and teals
Same value ascyan

Contrast and accessibility

On aqua, black text has a contrast ratio of 16.74:1 and passes AAA at any text size; white text reaches 1.25:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on aqua16.74:1PassPassPassPass91.8
White text on aqua1.25:1FailFailFailFail−13.7
Aqua text on white1.25:1FailFailFailFail11.8
Aqua text on black16.74:1PassPassPassPass−92.2

Tints and shades

Each step mixes aqua with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, aqua, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #0dffff
  2. 15%
    #26ffff
  3. 25%
    #40ffff
  4. 35%
    #59ffff
  5. 45%
    #73ffff
  6. 55%
    #8cffff
  7. 65%
    #a6ffff
  8. 75%
    #bfffff
  9. 85%
    #d9ffff
  10. 95%
    #f2ffff

Shades (mixed with black)

  1. 5%
    #00f2f2
  2. 15%
    #00d9d9
  3. 25%
    #00bfbf
  4. 35%
    #00a6a6
  5. 45%
    #008c8c
  6. 55%
    #007373
  7. 65%
    #005959
  8. 75%
    #004040
  9. 85%
    #002626
  10. 95%
    #000d0d

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, aqua's complementary color is #FFCDD1 (close to pink), its analogous colors are #67FFC6 and #9CEDFF, and its triadic partners are #F8CDFF and #FFD588. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#ffcdd1
Analogous−30°, +30°#67ffc6#9cedff
Triadic+120°, +240°#f8cdff#ffd588
Split-complementary+150°, +210°#ffc8ee#ffd0b6

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

Aqua is a cool color: its hue is 180° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
aquamarine#7fffd46.8
turquoise#40e0d09.0
paleturquoise#afeeee9.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
cyan-300#53eafd5.7
teal-300#46ecd56.3
teal-200#96f7e46.6

Code snippets

CSS
.element {
  color: aqua;
  background-color: #00ffff;
  border-color: rgb(0 255 255);
  outline-color: oklch(90.5% 0.155 194.8);
}
Tailwind CSS
<div class="bg-[#00ffff] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-aqua: #00ffff;
}
/* then use bg-aqua, text-aqua, border-aqua */
SwiftUI
import SwiftUI

extension Color {
  static let aqua = Color(red: 0.000, green: 1.000, blue: 1.000)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Aqua = Color(0xFF00FFFF)
Flutter
import 'package:flutter/material.dart';

const aqua = Color(0xFF00FFFF);
Android XML
<!-- res/values/colors.xml -->
<color name="aqua">#00FFFF</color>

Frequently asked questions

What is the hex code for aqua?
The hex code for aqua is #00FFFF. The same color is rgb(0, 255, 255), hsl(180, 100%, 50%) and oklch(90.5% 0.155 194.8), and in CSS you can also write the keyword aqua directly.
Is aqua a warm or cool color?
Aqua is a cool color: its hue is 180° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.
What colors go with aqua?
Rotating the hue in OKLCH while keeping lightness and chroma, aqua's complementary color is #FFCDD1 (close to pink), its analogous colors are #67FFC6 and #9CEDFF, and its triadic partners are #F8CDFF and #FFD588. For text on top, black gives the higher contrast.
Can you use white text on aqua?
White text on aqua has a contrast ratio of 1.25:1, which fails AA even for large text under WCAG 2.2. Black text reaches 16.74:1 and passes both AA and AAA. In APCA terms that is Lc −13.7 for white and Lc 91.8 for black.
Is aqua the same as cyan?
Yes. Both keywords are #00FFFF (rgb(0, 255, 255)). CSS Color 4 keeps both for compatibility, so use whichever your codebase already uses.

Last reviewed by Arielton Oberek.