#04AFF7

Closest named color: Deep Sky Blue (#00BFFF). oklch(71.5% 0.156 237.1), rgb(4, 175, 247).

Aa

Black text reads best on this color (8.48:1).

About this color

#04AFF7 is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.156 and its hue 237°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sky Blue (#00BFFF), ΔE 0.043 away. Black text reads best on it, at 8.48:1.

Hue familyBlues
Lightnessmedium-light (71%)
Chromavivid (0.156)
Temperaturecool
Nearest nameDeep Sky Blue (#00BFFF)
Black text8.48:1
White text2.47:1

Values

HEX#04AFF7
RGBrgb(4, 175, 247)
HSLhsl(198, 97%, 49%)
OKLCHoklch(71.5% 0.156 237.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #04AFF7 2.47:1 Fails Lc -53.0 Large or bold text, headings
Black text on #04AFF7 8.48:1 AAA Lc 56.0 Large or bold text, headings
#04AFF7 text on white 2.47:1 Fails Lc 48.0 Large or bold text, headings
#04AFF7 text on black 8.48:1 AAA Lc -54.0 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #EEF7FD

    oklch(97.1% 0.013 236.6)

  2. Step 100

    100

    #D9EDFB

    oklch(93.6% 0.028 238.2)

  3. Step 200

    200

    #B8DFF9

    oklch(88.4% 0.054 237.4)

  4. Step 300

    300

    #81CAF8

    oklch(80.8% 0.098 237.4)

  5. Step 400

    400 (this color)

    #04AFF7

    oklch(71.5% 0.156 237.1)

  6. Step 500

    500

    #0094D2

    oklch(63.2% 0.138 237.1)

  7. Step 600

    600

    #007CB1

    oklch(55.6% 0.122 237.2)

  8. Step 700

    700

    #006895

    oklch(49% 0.107 237)

  9. Step 800

    800

    #00557B

    oklch(42.6% 0.093 237.2)

  10. Step 900

    900

    #004767

    oklch(37.7% 0.082 236.6)

  11. Step 950

    950

    #002A3F

    oklch(27% 0.059 236.5)

Export this scale for Tailwind in the Tailwind colors tool

#04AFF7 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#8CAFFA0.087
Deuteranopia (no green cones)#6E9CF60.069
Tritanopia (no blue cones)#00C1C80.098
Achromatopsia (no color)#A5A5A50.156

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #04AFF7

    #04AFF7

    oklch(71.5% 0.156 237.1)

  • #EA862D

    #EA862D

    oklch(71.5% 0.156 57)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04AFF7

    #04AFF7

    oklch(71.5% 0.156 237.1)

  • #00B8CA

    #00B8CA

    oklch(71.5% 0.123 207.2)

  • #799EFF

    #799EFF

    oklch(71.4% 0.148 266.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #04AFF7

    #04AFF7

    oklch(71.5% 0.156 237.1)

  • #F5786C

    #F5786C

    oklch(71.5% 0.156 27.2)

  • #CA9B00

    #CA9B00

    oklch(71.4% 0.146 86.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04AFF7

    #04AFF7

    oklch(71.5% 0.156 237.1)

  • #ED75A4

    #ED75A4

    oklch(71.4% 0.156 357)

  • #9DAF21

    #9DAF21

    oklch(71.6% 0.156 117.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04AFF7

    #04AFF7

    oklch(71.5% 0.156 237.1)

  • #D57DD5

    #D57DD5

    oklch(71.4% 0.156 327.1)

  • #EA862D

    #EA862D

    oklch(71.5% 0.156 57)

  • #56BC66

    #56BC66

    oklch(71.4% 0.155 146.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #04AFF7, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #04AFF7 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.