#2A6DCC
Closest named color: Mid Blue (#276AB3). oklch(54.4% 0.162 258), rgb(42, 109, 204).
Aa
White text reads best on this color (5.05:1).
About this color
#2A6DCC is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.162 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.039 away. White text reads best on it, at 5.05:1.
| Hue family | Blues |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.162) |
| Temperature | cool |
| Nearest name | Mid Blue (#276AB3) |
| Black text | 4.15:1 |
| White text | 5.05:1 |
Values
| HEX | #2A6DCC |
| RGB | rgb(42, 109, 204) |
| HSL | hsl(215, 66%, 48%) |
| OKLCH | oklch(54.4% 0.162 258) |
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 #2A6DCC | 5.05:1 | AA | Lc -79.8 | Fine for body text |
| Black text on #2A6DCC | 4.15:1 | AA large text | Lc 29.7 | Dividers and decoration only |
| #2A6DCC text on white | 5.05:1 | AA | Lc 74.4 | Content text, not long reading |
| #2A6DCC text on black | 4.15:1 | AA large text | Lc -27.3 | 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
#F1F6FC
oklch(97.1% 0.01 252.8)
-
Step 100
100
#E1EBF8
oklch(93.6% 0.021 254.9)
-
Step 200
200
#C9DBF4
oklch(88.6% 0.04 256.6)
-
Step 300
300
#A4C3F0
oklch(81% 0.072 257.6)
-
Step 400
400
#72A2E9
oklch(70.7% 0.117 258)
-
Step 500
500
#4C89E2
oklch(63.2% 0.149 257.9)
-
Step 600
600 (this color)
#2A6DCC
oklch(54.4% 0.162 258)
-
Step 700
700
#205EB4
oklch(49.2% 0.15 257.8)
-
Step 800
800
#1D4D92
oklch(42.7% 0.125 258.1)
-
Step 900
900
#1D4174
oklch(37.7% 0.097 257.5)
-
Step 950
950
#122644
oklch(26.9% 0.062 258.3)
#2A6DCC 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) | #3976D0 | 0.029 |
| Deuteranopia (no green cones) | #0868CA | 0.022 |
| Tritanopia (no blue cones) | #008492 | 0.126 |
| Achromatopsia (no color) | #6F6F6F | 0.162 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A6DCC
#2A6DCC
oklch(54.4% 0.162 258)
- #946600
#946600
oklch(54.5% 0.114 77.8)
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 #2A6DCC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mid Blue #276AB3 ΔE 0.039
- Royal Blue #4169E1 ΔE 0.040
- Windows Blue #3778BF ΔE 0.041
- French Blue #436BAD ΔE 0.051
- Cerulean Blue #056EEE ΔE 0.053
- Nice Blue #107AB0 ΔE 0.063
- Flat Blue #3C73A8 ΔE 0.063
- Warm Blue #4B57DB ΔE 0.064
Use #2A6DCC 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.