#31AFFF
Closest named color: Deep Sky Blue (#00BFFF). oklch(72.4% 0.157 242.5), rgb(49, 175, 255).
Aa
Black text reads best on this color (8.70:1).
About this color
#31AFFF is a medium-light, vivid blue. In OKLCH its lightness is 72%, its chroma 0.157 and its hue 242°. 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.70:1.
| Hue family | Blues |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.157) |
| Temperature | cool |
| Nearest name | Deep Sky Blue (#00BFFF) |
| Black text | 8.70:1 |
| White text | 2.41:1 |
Values
| HEX | #31AFFF |
| RGB | rgb(49, 175, 255) |
| HSL | hsl(203, 100%, 60%) |
| OKLCH | oklch(72.4% 0.157 242.5) |
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 #31AFFF | 2.41:1 | Fails | Lc -52.0 | Large or bold text, headings |
| Black text on #31AFFF | 8.70:1 | AAA | Lc 57.0 | Large or bold text, headings |
| #31AFFF text on white | 2.41:1 | Fails | Lc 47.0 | Large or bold text, headings |
| #31AFFF text on black | 8.70:1 | AAA | Lc -55.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.
-
Step 50
50
#EEF7FE
oklch(97.1% 0.013 241)
-
Step 100
100
#DAEDFC
oklch(93.7% 0.029 241.6)
-
Step 200
200
#BBDEFB
oklch(88.5% 0.055 243.4)
-
Step 300
300
#87C8FB
oklch(80.8% 0.098 243)
-
Step 400
400 (this color)
#31AFFF
oklch(72.4% 0.157 242.5)
-
Step 500
500
#0091DC
oklch(63% 0.151 242.6)
-
Step 600
600
#007ABA
oklch(55.6% 0.133 242.5)
-
Step 700
700
#00669D
oklch(49% 0.118 242.7)
-
Step 800
800
#005482
oklch(42.8% 0.102 242.4)
-
Step 900
900
#00466D
oklch(37.8% 0.09 242.2)
-
Step 950
950
#002943
oklch(27% 0.065 242.6)
#31AFFF 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) | #89B1FF | 0.072 |
| Deuteranopia (no green cones) | #6D9FFE | 0.055 |
| Tritanopia (no blue cones) | #00C3CB | 0.108 |
| Achromatopsia (no color) | #A7A7A7 | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31AFFF
#31AFFF
oklch(72.4% 0.157 242.5)
- #EA8C20
#EA8C20
oklch(72.4% 0.157 62.3)
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 #31AFFF, 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.071
- Carolina Blue #8AB8FE ΔE 0.079
- Bright Sky Blue #02CCFE ΔE 0.079
- Vivid Sky Blue #4CC9F0 ΔE 0.084
- Dodger Blue #1E90FF ΔE 0.085
- Dark Sky Blue #448EE4 ΔE 0.089
Use #31AFFF 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.