#021BF9
Named color: Rich Blue. oklch(45.6% 0.299 264.3), rgb(2, 27, 249).
Aa
White text reads best on this color (8.30:1).
About this color
#021BF9 is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.299 and its hue 264°. Its hue sits on the cool side of the wheel. It is the named color Rich Blue. White text reads best on it, at 8.30:1.
| Hue family | Blues |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.299) |
| Temperature | cool |
| Nearest name | Rich Blue |
| Black text | 2.52:1 |
| White text | 8.30:1 |
Values
| HEX | #021BF9 |
| RGB | rgb(2, 27, 249) |
| HSL | hsl(234, 98%, 49%) |
| OKLCH | oklch(45.6% 0.299 264.3) |
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 #021BF9 | 8.30:1 | AAA | Lc -90.8 | Preferred for body text |
| Black text on #021BF9 | 2.52:1 | Fails | Lc 18.0 | Dividers and decoration only |
| #021BF9 text on white | 8.30:1 | AAA | Lc 86.0 | Fine for body text |
| #021BF9 text on black | 2.52:1 | Fails | Lc -16.1 | Dividers and decoration only |
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 800.
-
Step 50
50
#F1F6FF
oklch(97.2% 0.013 262.4)
-
Step 100
100
#E0EAFF
oklch(93.6% 0.03 265.3)
-
Step 200
200
#C7D9FF
oklch(88.4% 0.056 265.2)
-
Step 300
300
#A2C0FF
oklch(80.9% 0.096 264.7)
-
Step 400
400
#709DFF
oklch(70.7% 0.152 264.2)
-
Step 500
500
#4B80FF
oklch(63.1% 0.197 264.4)
-
Step 600
600
#255FFF
oklch(55.6% 0.244 264.3)
-
Step 700
700
#0538FF
oklch(49.1% 0.287 264.3)
-
Step 800
800 (this color)
#021BF9
oklch(45.6% 0.299 264.3)
-
Step 900
900
#011DBA
oklch(37.7% 0.233 264.3)
-
Step 950
950
#02176D
oklch(27.1% 0.148 264.4)
#021BF9 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) | #005AFF | 0.097 |
| Deuteranopia (no green cones) | #0041F6 | 0.047 |
| Tritanopia (no blue cones) | #006C94 | 0.222 |
| Achromatopsia (no color) | #4E4E4E | 0.301 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #021BF9
#021BF9
oklch(45.6% 0.299 264.3)
- #6F5200
#6F5200
oklch(45.7% 0.094 84.9)
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 #021BF9, closest first.
No curated palette has a color within ΔE 0.04 of #021BF9.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Primary Blue #0804F9 ΔE 0.012
- Strong Blue #0C06F7 ΔE 0.012
- Blue #0000FF ΔE 0.014
- Vivid Blue #152EFF ΔE 0.028
- Vibrant Blue #0339F8 ΔE 0.035
- Pure Blue #0203E2 ΔE 0.044
- Ultramarine Blue #1805DB ΔE 0.054
- Light Royal Blue #3A2EFE ΔE 0.056
Use #021BF9 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.