#04AFF8
Closest named color: Deep Sky Blue (#00BFFF). oklch(71.5% 0.157 237.4), rgb(4, 175, 248).
Aa
Black text reads best on this color (8.49:1).
About this color
#04AFF8 is a medium-light, vivid blue. In OKLCH its lightness is 72%, its chroma 0.157 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.49:1.
| Hue family | Blues |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.157) |
| Temperature | cool |
| Nearest name | Deep Sky Blue (#00BFFF) |
| Black text | 8.49:1 |
| White text | 2.47:1 |
Values
| HEX | #04AFF8 |
| RGB | rgb(4, 175, 248) |
| HSL | hsl(198, 97%, 49%) |
| OKLCH | oklch(71.5% 0.157 237.4) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #04AFF8 | 2.47:1 | Fails | Lc -52.9 | Large or bold text, headings |
| Black text on #04AFF8 | 8.49:1 | AAA | Lc 56.1 | Large or bold text, headings |
| #04AFF8 text on white | 2.47:1 | Fails | Lc 47.9 | Large or bold text, headings |
| #04AFF8 text on black | 8.49:1 | AAA | Lc -54.1 | 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.
-
Step 50
50
#EEF7FD
oklch(97.1% 0.013 236.6)
-
Step 100
100
#D9EDFB
oklch(93.6% 0.028 238.2)
-
Step 200
200
#B8DFF9
oklch(88.4% 0.054 237.4)
-
Step 300
300
#81CAF8
oklch(80.8% 0.098 237.4)
-
Step 400
400 (this color)
#04AFF8
oklch(71.5% 0.157 237.4)
-
Step 500
500
#0094D2
oklch(63.2% 0.138 237.1)
-
Step 600
600
#007CB2
oklch(55.6% 0.123 237.7)
-
Step 700
700
#006896
oklch(49.1% 0.108 237.6)
-
Step 800
800
#00557C
oklch(42.7% 0.094 237.9)
-
Step 900
900
#004768
oklch(37.7% 0.083 237.5)
-
Step 950
950
#002A40
oklch(27% 0.06 237.8)
#04AFF8 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #8BAFFB | 0.086 |
| Deuteranopia (no green cones) | #6E9CF7 | 0.069 |
| Tritanopia (no blue cones) | #00C2C9 | 0.100 |
| Achromatopsia (no color) | #A5A5A5 | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #04AFF8
#04AFF8
oklch(71.5% 0.157 237.4)
- #EA862B
#EA862B
oklch(71.5% 0.156 57.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #04AFF8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Sky Blue #00BFFF ΔE 0.043
- Chefchaouen Blue #4895EF ΔE 0.068
- Cornflower Blue #6495ED ΔE 0.075
- Bright Sky Blue #02CCFE ΔE 0.079
- Turquoise Blue #06B1C4 ΔE 0.080
- Vivid Sky Blue #4CC9F0 ΔE 0.084
- Dodger Blue #1E90FF ΔE 0.086
- Dark Sky Blue #448EE4 ΔE 0.087
Use #04AFF8 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.