#2A6FDB
Closest named color: Royal Blue (#4169E1). oklch(55.9% 0.179 259.4), rgb(42, 111, 219).
Aa
White text reads best on this color (4.77:1).
About this color
#2A6FDB is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.179 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.024 away. White text reads best on it, at 4.77:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.179) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.39:1 |
| White text | 4.77:1 |
Values
| HEX | #2A6FDB |
| RGB | rgb(42, 111, 219) |
| HSL | hsl(217, 71%, 51%) |
| OKLCH | oklch(55.9% 0.179 259.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 #2A6FDB | 4.77:1 | AA | Lc -78.1 | Fine for body text |
| Black text on #2A6FDB | 4.39:1 | AA large text | Lc 31.5 | Non-text elements, placeholder text |
| #2A6FDB text on white | 4.77:1 | AA | Lc 72.6 | Content text, not long reading |
| #2A6FDB text on black | 4.39:1 | AA large text | Lc -29.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 600.
-
Step 50
50
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E1EBFA
oklch(93.7% 0.023 258.4)
-
Step 200
200
#C8DAF7
oklch(88.4% 0.045 259.9)
-
Step 300
300
#A2C2F5
oklch(80.9% 0.081 259.6)
-
Step 400
400
#6FA1F0
oklch(70.7% 0.128 259.2)
-
Step 500
500
#4887EB
oklch(63.1% 0.164 259.3)
-
Step 600
600 (this color)
#2A6FDB
oklch(55.9% 0.179 259.4)
-
Step 700
700
#1C5BBD
oklch(49.1% 0.167 259.5)
-
Step 800
800
#194B99
oklch(42.7% 0.138 259.4)
-
Step 900
900
#1B407A
oklch(37.8% 0.108 259.2)
-
Step 950
950
#112647
oklch(27.1% 0.067 259.1)
#2A6FDB 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) | #2D7BDF | 0.032 |
| Deuteranopia (no green cones) | #006BD9 | 0.021 |
| Tritanopia (no blue cones) | #00899A | 0.138 |
| Achromatopsia (no color) | #727272 | 0.180 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A6FDB
#2A6FDB
oklch(55.9% 0.179 259.4)
- #986B00
#986B00
oklch(56% 0.116 79.5)
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 #2A6FDB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.024
- Cerulean Blue #056EEE ΔE 0.032
- Neon Blue #4361EE ΔE 0.048
- Azul #1D5DEC ΔE 0.054
- Windows Blue #3778BF ΔE 0.054
- Clear Blue #247AFD ΔE 0.056
- Bright Blue #0165FC ΔE 0.059
- Warm Blue #4B57DB ΔE 0.060
Use #2A6FDB 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.